Part Number Hot Search : 
KK90F40 BHC0002 MR2001 CS18184 PT6596 S3P7588X 1N5347B E0052
Product Description
Full Text Search
 

To Download M29DW127G Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  may 2009 rev 3 1/95 1 M29DW127G 128-mbit (8 mbit x16 or 16 mbit x8 , multiple bank, page, dual boot) 3 v supply flash memory features ? supply voltage ?v cc = 2.7 to 3.6 v for program, erase and read ?v ccq = 1.65 to 3.6 v for i/o buffers ?v pph = 12 v for fast program (optional) ? asynchronous random/page read ? page width: 8 words / 16 bytes ? page access: 25 ns ? random access: 60 or 70, 80 ns ? enhanced buffered program commands ?256words ? programming time ?15 s per byte/word (typical) ? 32-word write buffer ? chip program time: 5 s with v pph and 8 s without v pph ? erase verify ? memory blocks ? quadruple bank memory array: 16 mbit+48 mbit+48 mbit+16 mbit ? parameter blocks (at top and bottom) ? dual operation ? while program or erase in one bank, read in any of the other banks ? program/erase suspend and resume modes ? read from any block during program suspend ? read and program another block during erase suspend ? unlock bypass/block erase/chip erase/write to buffer/ enhanced buffered program commands ? faster production/batch programming ? faster block and chip erase ? common flash interface ? 64-bit security code ? 100,000 program/erase cycles per block ? low power consumption ? standby and automatic standby ? hardware block protection ?v pp /wp pin for fast program and write protect of the four outermost parameter blocks ? security features ? volatile protection ? non-volatile protection ? password protection ? additional block protection ? extended memory block ? extra block (128-word / 256-byte factory locked and 128-word / 256-byte customer lockable) used as security block or to store additional information ? electronic signature ? manufacturer code: 0020h ? device code: 227eh+2220h+2204h ? ecopack ? packages available tsop56 (nf) 14 x 20 mm tbga64 (za) 10 x 13 mm bga www.numonyx.com
contents M29DW127G 2/95 contents 1 description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2 signal descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.1 address inputs (a0-a22) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.2 data inputs/outputs (dq0-dq7) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.3 data inputs/outputs (dq8-dq14) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.4 data inputs/outputs or address inputs (dq15a-1) . . . . . . . . . . . . . . . . . . 14 2.5 chip enable (e ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.6 output enable (g ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.7 write enable (w ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 2.8 v pp /write protect (v pp/ wp ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 2.9 reset (rp ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 2.10 ready/busy output (rb ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 2.11 byte/word organization select (byte ) . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 2.12 v cc supply voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 2.13 v ccq input/output supply voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 2.14 v ss ground . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3 bus operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.1 bus read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.2 bus write . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.3 output disable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.4 standby . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3.5 reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3.6 automatic standby . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 4 auto select mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 4.1 read electronic signature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 4.2 verify extended memory block protection indicator . . . . . . . . . . . . . . . . . 21 4.3 verify block protection status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 5 hardware protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
M29DW127G contents 3/95 5.1 write protect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 6 software protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 6.1 volatile protection mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 6.2 non-volatile protection mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 6.2.1 non-volatile protection bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 6.2.2 non-volatile protection bit lock bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 6.3 password protection mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 7 command interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 7.1 standard commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 7.1.1 read/reset command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 7.1.2 auto select command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 7.1.3 read cfi query command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 7.1.4 chip erase command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 7.1.5 block erase command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 7.1.6 erase suspend command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 7.1.7 erase resume command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 7.1.8 program suspend command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 7.1.9 program resume command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 7.1.10 program command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 7.2 fast program commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 7.2.1 write to buffer program command . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 7.2.2 enhanced buffered program command . . . . . . . . . . . . . . . . . . . . . . . . 37 7.2.3 buffered program abort and reset command . . . . . . . . . . . . . . . . . . . . 37 7.2.4 write to buffer program confirm command . . . . . . . . . . . . . . . . . . . . . . 38 7.2.5 enhanced buffered program confirm command . . . . . . . . . . . . . . . . . . 38 7.2.6 unlock bypass command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 7.2.7 unlock bypass program command . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 7.2.8 unlock bypass block erase command . . . . . . . . . . . . . . . . . . . . . . . . . 39 7.2.9 unlock bypass chip erase command . . . . . . . . . . . . . . . . . . . . . . . . . . 39 7.2.10 unlock bypass write to buffer program command . . . . . . . . . . . . . . . . 40 7.2.11 unlock bypass enhanced buffered program command . . . . . . . . . . . . 40 7.2.12 unlock bypass cfi command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 7.2.13 unlock bypass reset command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 7.3 protection commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
contents M29DW127G 4/95 7.3.1 enter extended memory block command . . . . . . . . . . . . . . . . . . . . . . . 43 7.3.2 exit extended memory block command . . . . . . . . . . . . . . . . . . . . . . . . 43 7.3.3 lock register command set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 7.3.4 password protection mode command set . . . . . . . . . . . . . . . . . . . . . . . 44 7.3.5 non-volatile protection mode command set . . . . . . . . . . . . . . . . . . . . . 45 7.3.6 nvpb lock bit command set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 7.3.7 volatile protection mode command set . . . . . . . . . . . . . . . . . . . . . . . . . 47 7.3.8 exit protection command set command . . . . . . . . . . . . . . . . . . . . . . . . . 47 8 registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 8.1 lock register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 8.1.1 volatile lock boot bit (dq4) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 8.1.2 password protection mode lock bit (dq2) . . . . . . . . . . . . . . . . . . . . . . . 51 8.1.3 non-volatile protection mode lock bit (dq1) . . . . . . . . . . . . . . . . . . . . . 51 8.1.4 extended block protection bit (dq0) . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 8.1.5 dq15 to dq5 and dq3 reserved . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 8.2 status register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 8.2.1 data polling bit (dq7) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 8.2.2 toggle bit (dq6) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 8.2.3 error bit (dq5) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 8.2.4 erase timer bit (dq3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 8.2.5 alternative toggle bit (dq2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 8.3 buffered program abort bit (dq1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 9 dual operations and multiple bank architecture . . . . . . . . . . . . . . . . . 59 10 maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 11 dc and ac parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 12 package mechanical . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 13 ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 appendix a block addresses and read/modify protection groups . . . . . . . . . . 81 appendix b common flash interface (cfi). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
M29DW127G contents 5/95 appendix c extended memory block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 c.1 factory locked section of extended memory block . . . . . . . . . . . . . . . . . . 90 c.2 customer lockable section of extended memory block . . . . . . . . . . . . . . . 91 appendix d flowcharts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 14 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
list of tables M29DW127G 6/95 list of tables table 1. signal names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 table 2. bank architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 table 3. v pp /wp functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 table 4. bus operations, 8-bit mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 table 5. bus operations, 16-bit mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 table 6. read electronic signature, auto select mode method (8-bit mode) . . . . . . . . . . . . . . . . . . 22 table 7. read electronic signature, auto select mode method (16-bit mode) . . . . . . . . . . . . . . . . . 22 table 8. block protection (8-bit mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 table 9. block protection (16-bit mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 table 10. hardware protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 table 11. standard commands (8-bit mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 4 table 12. standard commands (16-bit mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 table 13. fast program commands (8-bit mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 table 14. fast program commands (16-bit mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 table 15. enhanced buffered program commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 table 16. block protection commands (8-bit mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 table 17. block protection commands (16-bit mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 table 18. program, erase times and program, erase endurance cycles . . . . . . . . . . . . . . . . . . . . . . 50 table 19. lock register bits. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 table 20. block protection status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 table 21. status register bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 table 22. dual operations allowed in other banks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 9 table 23. dual operations allowed in same bank . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 table 24. absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 table 25. operating and ac measurement conditions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 table 26. power-up waiting timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 table 27. device capacitance. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 table 28. dc characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 table 29. read ac characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 table 30. write ac characteristics, write enable controlled . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 table 31. write ac characteristics, chip enable controlled. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 table 32. reset ac characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 table 33. accelerated program and data polling/data toggle ac characteristics . . . . . . . . . . . . . . . . 77 table 34. tsop56 ? 56 lead plastic thin small outline, 14 x 20 mm, package mechanical data . . . . 78 table 35. tbga64 10 x 13 mm - 8 x 8 active ball array, 1 mm pitch, package mechanical data. . . . 79 table 36. ordering information scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 table 37. block addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 table 38. query structure overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 table 39. cfi query identification string . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 table 40. cfi query system interface information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 6 table 41. device geometry definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 table 42. primary algorithm-specific extended query table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 table 43. security code area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 table 44. extended memory block address and data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 table 45. document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
M29DW127G list of figures 7/95 list of figures figure 1. logic diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 figure 2. tsop connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 figure 3. tbga connections (top view through package) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 figure 4. block addresses (x8 mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 figure 5. block addresses (x16 mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 figure 6. software protection scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 figure 7. nvpb program/erase algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 figure 8. lock register program flowchart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 figure 9. data polling flowchart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 figure 10. data toggle flowchart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 figure 11. ac measurement load circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 figure 12. ac measurement i/o waveform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 figure 13. power-up waiting timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 figure 14. random read ac waveforms (8-bit mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 figure 15. random read ac waveforms (16-bit mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 figure 16. byte transition ac waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 figure 17. page read ac waveforms (8-bit mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 figure 18. page read ac waveforms (16-bit mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 figure 19. write enable controlled program waveforms (8-bit mode) . . . . . . . . . . . . . . . . . . . . . . . . . 70 figure 20. write enable controlled program waveforms (16-bit mode) . . . . . . . . . . . . . . . . . . . . . . . . 71 figure 21. chip enable controlled program waveforms (8-bit mode). . . . . . . . . . . . . . . . . . . . . . . . . . 73 figure 22. chip enable controlled program waveforms (16-bit mode) . . . . . . . . . . . . . . . . . . . . . . . . . 74 figure 23. reset ac waveforms (no program/erase ongoing). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 figure 24. reset during program/erase operation ac waveforms. . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 figure 25. accelerated program timing waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 figure 26. data polling ac waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 figure 27. tsop56 ? 56 lead plastic thin small outline, 14 x 20 mm, package outline . . . . . . . . . . . . 78 figure 28. tbga64 10 x 13 mm - 8 x 8 active ball array, 1 mm pitch, package outline . . . . . . . . . . . 79 figure 29. write to buffer program flowchart and pseudocode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 figure 30. enhanced buffered program flowchart and pseudocode . . . . . . . . . . . . . . . . . . . . . . . . . . 93
description M29DW127G 8/95 1 description the M29DW127G is a 128-mbit (8 mbit x16 / 16 mbit x8) non-volatile memory that can be read, erased and reprogrammed. these operations can be performed using a single low voltage (2.7 to 3.6 v) supply. at power-up the memory defaults to its read mode. the M29DW127G features an asymmetrical block architecture, with 8 parameter and 62 main blocks, divided into four banks, a, b, c and d, providing multiple bank operations. while programming or erasing in one bank, read operations are possible in any other bank. the bank architecture is summarized in ta bl e 2 . four of the parameter blocks are at the top of the memory address space, and four are at the bottom. program and erase commands are written to the command interface of the memory. an on- chip program/erase controller simplifies the process of programming or erasing the memory by taking care of all of the special operations that are required to update the memory contents. the end of a program or erase operation can be detected and any error conditions identified. the command set required to control the memory is consistent with jedec standards. the chip enable, output enable and write enable signals control the bus operations of the memory. they allow simple connection to most microprocessors, often without additional logic. the device supports asynchronous random read and page read from all blocks of the memory array. the device also features a write to buffer program capability that improves the programming throughput by programming in one shot a buffer of 32 words / 64 bytes. the enhanced buffered program feature is also available to speed up programming throughput, allowing 256 words to be programmed at once (only available in x16 mode). the v pp /wp signal can be used to enable faster programming of the device. the M29DW127G has one extra 256-word block in x16 mode or one extra 512-byte block in x8 mode (extended block, 128 words / 256 bytes factory locked and 128 words / 256 bytes customer lockable) that can be accessed using a dedicated command. the extended block can be protected and so is useful for storing security information. however the protection is irreversible, once protected the protection cannot be undone. each block can be erased independently, so it is possible to preserve valid data while old data is erased. the device features different levels of hardware and software block protection to avoid unwanted program or erase (modify): ? hardware protection ?the v pp /wp provides a hardware protection of the four outermost parameter blocks (two at the top and two at the bottom of the address space) ? software protection ? volatile protection ? non-volatile protection ? password protection ? additional protection features are available upon customer request. the memory is offered in tsop56 (14 x 20 mm) and tbga64 (10 x 13 mm, 1 mm pitch) packages. the memory is delivered with all the bits erased (set to ?1?).
M29DW127G description 9/95 figure 1. logic diagram table 1. signal names name description direction a0-a22 address inputs inputs dq0-dq7 data inputs/outputs i/o dq8-dq14 data inputs/outputs i/o dq15a ? 1 data input/output or address input i/o e chip enable input g output enable input w write enable input rp reset input rb ready/busy output output byte byte/word organization select input v ccq input/output buffer supply voltage supply v cc supply voltage supply v pp /wp (1) 1. v pp /wp may be left floating as it is internally connect ed to a pull-up resistor which enables program/erase operations. v pp /write protect supply/input v ss ground ? nc not connected ? logicdiagram-m29dw xx 23 a0-a22 w dq0-dq14 v cc e v ss 15 g rp dq15a-1 rb v pp /wp byte v ccq
description M29DW127G 10/95 figure 2. tsop connections table 2. bank architecture bank bank size parameter blocks main blocks n. of blocks block size n. of blocks block size a 16 mbit 4 32 kwords / 64 kbytes 7 128 kwords / 256 kbytes b48 mbit ? ? 24 128 kwords / 256 kbytes c48 mbit ? ? 24 128 kwords / 256 kbytes d 16 mbit 4 32 kwords / 64 kbytes 7 128 kwords / 256 kbytes dq3 dq9 dq2 a6 dq0 w a3 rb dq6 a19 a8 dq13 a17 a12 dq14 a2 dq12 dq10 dq15a-1 v cc dq4 dq5 a7 dq7 v pp /wp a21 tsop-connections-m29dwxx 14 1 15 28 29 42 43 56 dq8 nc a20 a1 a18 a4 a5 dq1 dq11 g a14 a15 a16 a13 byte nc a22 v ss e a0 rp v ss a9 a10 a11 nc nc nc nc v ccq
M29DW127G description 11/95 figure 3. tbga connections (top view through package) 6 5 4 3 2 1 v ss a11 a10 a8 a9 dq3 dq11 dq10 a18 v pp / wp rb a0 a2 a4 a3 g nc nc nc dq2 dq1 dq9 dq8 a6 a17 a7 dq4 v cc dq12 dq5 a19 a21 rp w a5 dq0 nc nc v ss a1 a20 dq7 byte c b a e d f g h dq15 a-1 8 7 ai11527c nc a15 a14 a12 a13 dq6 dq13 dq14 nc a22 nc v ss a16 nc nc e nc nc v ccq v ccq
description M29DW127G 12/95 figure 4. block addresses (x8 mode) ai08967c 256 kbytes 800000h 83ffffh 256 kbytes f80000h fbffffh address lines a22-a0, dq15a-1 256 kbytes dc0000h dfffffh total of 24 main blocks 256 kbytes e00000h e3ffffh 64 kbytes ff0000h ffffffh 64 kbytes fc0000h fcffffh total of 7 main blocks total of 4 parameter blocks bank c bank d 64 kbytes 000000h 00ffffh 256 kbytes 1c0000h 1fffffh 64 kbytes 030000h 03ffffh total of 4 parameter blocks 256 kbytes 040000h 07ffffh 256 kbytes 7c0000h 7fffffh 256 kbytes 200000h 23ffffh total of 7 main blocks total of 24 main blocks bank b bank a
M29DW127G description 13/95 figure 5. block addresses (x16 mode) ai08967b 128 kwords 400000h 41ffffh 128 kwords 7c0000h 7dffffh address lines a22-a0 128 kwords 6e0000h 6fffffh total of 24 main blocks 128 kwords 700000h 71ffffh 32 kwords 7f8000h 7fffffh 32 kwords 7e0000h 7e7fffh total of 7 main blocks total of 4 parameter blocks bank c bank d 32 kwords 000000h 007fffh 128 kwords 0e0000h 0fffffh 32 kwords 018000h 01ffffh total of 4 parameter blocks 128 kwords 020000h 03ffffh 128 kwords 3e0000h 3fffffh 128 kwords 100000h 11ffffh total of 7 main blocks total of 24 main blocks bank b bank a
signal descriptions M29DW127G 14/95 2 signal descriptions see figure 1: logic diagram and table 1: signal names for a brief overview of the signals connected to this device. 2.1 address inputs (a0-a22) the address inputs select the cells in the memory array to access during bus read operations. during bus write operations they control the commands sent to the command interface of the program/erase controller. 2.2 data inputs/outputs (dq0-dq7) the data i/o outputs the data stored at the selected address during a bus read operation. during bus write operations they represent the commands sent to the command interface of the internal state machine. 2.3 data inputs/outputs (dq8-dq14) the data i/o outputs the data stored at the selected address during a bus read operation when byte is high, v ih . when byte is low, v il , these pins are not used and are high impedance. during bus write operations the command register does not use these bits. when reading the status register these bits should be ignored. 2.4 data inputs/outputs or address inputs (dq15a ? 1) when the device is in x 16 bus mode, this pin behaves as a data input/output pin (as dq8- dq14). when the device operates in x 8 bus mode, this pin behaves as the least significant bit of the address. throughout the text consider references to the data input/output to include this pin when the device operates in x 16 bus mode and references to the address inputs to include this pin when the device operates in x 8 bus mode except when stated explicitly otherwise. 2.5 chip enable (e ) the chip enable pin, e , activates the memory, allowing bus read and bus write operations to be performed. when chip enable is high, v ih , all other pins are ignored. 2.6 output enable (g ) the output enable pin, g , controls the bus read operation of the memory.
M29DW127G signal descriptions 15/95 2.7 write enable (w ) the write enable pin, w , controls the bus write operation of the memory?s command interface. 2.8 v pp /write protect (v pp /wp ) the v pp /write protect pin provides two functions. the v pph function allows the memory to use an external high voltage power supply to reduce the time required for program operations. this is achieved by bypassing the unlock cycles. the write protect function provides a hardware method of protecting the four outermost blocks, that is the two 32-kword blocks at the top and the two 32-kword blocks at the bottom of the address space (see section 1: description ). when v pp /write protect is low, v il , the 4 outermost blocks are protected. program and erase operations on this block are ignored while v pp /write protect is low. when v pp /write protect is high, v ih , the memory reverts to the previous protection status of the four outermost blocks. program and erase operations can now modify the data in these blocks unless the blocks are protected using block protection. when v pp /write protect is raised to v pph the memory automatically enters the unlock bypass mode (see section 7.2.6 ). when v pp /write protect is raised to v pph , the execution time of the command is lower (see table 18: program, erase times and program, erase endurance cycles ). when v pp /write protect returns to v ih or v il normal operation resumes. during unlock bypass program operations the memory draws i pp from the pin to supply the programming circuits. see the description of the unlock bypass command in the command interface section. the transitions from v ih to v pph and from v pph to v ih must be slower than t vhvpp (see figure 25: accelerated program timing waveforms ). never raise v pp /write protect to v pph from any mode except read mode, otherwise the memory may be left in an indeterminate state. a 0.1 f capacitor should be connected between the v pp /write protect pin and the v ss ground pin to decouple the current surges from the power supply. the pcb track widths must be sufficient to carry the currents required during unlock bypass program (see i pp1 , i pp2 , i pp3 , i pp4 in table 28: dc characteristics ). the v pp /write protect pin may be left floating or unconnected because it features an internal pull-up. refer to table 3 for a summary of v pp /wp functions. table 3. v pp /wp functions v pp /wp function v il four outermost blocks (1) protected. 1. two at the top and two at the bottom of the address space. v ih four outermost blocks (1) unprotected unless a software protection is activated (see section 5: hardware protection ). v pph unlock bypass mode. it supplies the current needed to speed up programming.
signal descriptions M29DW127G 16/95 2.9 reset (rp ) the reset pin can be used to apply a hardware reset to the memory. a hardware reset is achieved by holding reset low, v il , for at least t plpx . after reset goes high, v ih , the memory will be ready for bus read and bus write operations after t phel or t rhel , whichever occurs last. see section 2.10: ready/busy output (rb) , table 32: reset ac characteristics , figure 23 and figure 24 for more details. 2.10 ready/busy output (rb ) the ready/busy pin is an open-drain output that can be used to identify when the device is performing a program or erase operation. during program or erase operations ready/busy is low, v ol (see table 21: status register bits ). ready/busy is high-impedance during read mode, auto select mode and erase suspend mode. after a hardware reset, bus read and bus write operations cannot begin until ready/busy becomes high-impedance. see table 32: reset ac characteristics , figure 23 and figure 24 . the use of an open-drain output allows the ready/busy pins from several memories to be connected to a single pull-up resistor. a low will then indicate that one, or more, of the memories is busy. 2.11 byte/word organization select (byte ) it is used to switch between the x8 and x16 bus modes of the memory. when byte/word organization select is low, v il , the memory is in x8 mode, when it is high, v ih , the memory is in x16 mode. 2.12 v cc supply voltage v cc provides the power supply for all operations (read, program and erase). the command interface is disabled when the v cc supply voltage is less than the lockout voltage, v lko . this prevents bus write operations from accidentally damaging the data during power-up, power-down and power surges. if the program/erase controller is programming or erasing during this time then the operation aborts and the memory contents being altered will be invalid. a 0.1 f capacitor should be connected between the v cc supply voltage pin and the v ss ground pin to decouple the current surges from the power supply. the pcb track widths must be sufficient to carry the currents required during program and erase operations (see i cc1 , i cc2 , i cc3 in table 28: dc characteristics ). 2.13 v ccq input/output supply voltage v ccq provides the power supply to the i/o pins and enables all outputs to be powered independently from v cc .
M29DW127G signal descriptions 17/95 2.14 v ss ground v ss is the reference for all voltage measurements. the device features two v ss pins both of which must be connected to the system ground.
bus operations M29DW127G 18/95 3 bus operations there are five standard bus operations that control the device. these are bus read (random and page modes), bus write, output disable, standby and automatic standby. dual operations are possible in the M29DW127G, thanks to its multiple bank architecture. while programming or erasing in one bank, read operations are possible in any of the other banks. write operations are only allowed in one bank at a time. see table 4: bus operations, 8-bit mode on page 20 and table 5: bus operations, 16-bit mode on page 20 for a summary. typical glitches of less than 5 ns on chip enable, write enable, and reset pins are ignored by the memory and do not affect bus operations. 3.1 bus read bus read operations read from the memory cells, or specific registers in the command interface. to speed up the read operation the memory array can be read in page mode where data is internally read and stored in a page buffer. the page has a size of 8 words (or 16 bytes) and is addressed by the address inputs a2-a0 in x16 mode and a2-a0 plus dq15a-1 in x8 mode. a valid bus read operation involves setting the desired address on the address inputs, applying a low signal, v il , to chip enable and output enable and keeping write enable high, v ih . the data inputs/outputs will output the value, see figure 14: random read ac waveforms (8-bit mode) on page 65 , figure 15: random read ac waveforms (16-bit mode) on page 65 , and table 29: read ac characteristics on page 69 for details of when the output becomes valid. 3.2 bus write bus write operations write to the command interface. a valid bus write operation begins by setting the desired address on the address inputs. the address inputs are latched by the command interface on the falling edge of chip enable or write enable, whichever occurs last. the data inputs/outputs are latched by the command interface on the rising edge of chip enable or write enable, whichever occurs first. output enable must remain high, v ih , during the whole bus write operation. for details on ac characteristics (write enabled and chip enabled controlled), see the following figures and tables: ? figure 19: write enable controlled program waveforms (8-bit mode) on page 70 ? figure 20: write enable controlled program waveforms (16-bit mode) on page 71 ? table 30: write ac characteristics, write enable controlled on page 72 ? figure 21: chip enable controlled program waveforms (8-bit mode) on page 73 ? figure 22: chip enable controlled program waveforms (16-bit mode) on page 74 ? table 31: write ac characteristics, chip enable controlled on page 74 3.3 output disable the data inputs/outputs are in the high impedance state when output enable is high, v ih .
M29DW127G bus operations 19/95 3.4 standby driving chip enable high, v ih , in read mode, causes the memory to enter standby mode and the data inputs/outputs pins are placed in the high-impedance state. to reduce the supply current to the standby supply current, i cc2 , chip enable should be held within v cc 0.3 v. for the standby current level see table 28: dc characteristics . during program or erase operations the memory will continue to use the program/erase supply current, i cc3 , for program or erase operations until the operation completes. 3.5 reset during reset mode the memory is deselected and the outputs are high impedance. the memory is in reset mode when rp is at v il . the power consumption is reduced to the standby level, independently from the chip enable, output enable or write enable inputs. 3.6 automatic standby automatic standby allows the memory to achieve low power consumption during read mode. after a read operation, if cmos levels (v cc 0.3 v) are used to drive the bus and the bus is inactive for t avqv +30ns or more, the memory enters automatic standby where the internal supply current is reduced to the standby supply current, i cc2 (see table 28: dc characteristics ). the data inputs/outputs will still output data if a bus read operation is in progress. the power supplier of data bus, v ccq , can have a null consumption (depending on load circuits connected with data bus) when the memory enters automatic standby.
bus operations M29DW127G 20/95 m table 4. bus operations, 8-bit mode operation (1) e g w rp v pp /wp address inputs data inputs/outputs a22-a0, dq15a-1 dq14-dq8 dq7-dq0 bus read v il v il v ih v ih x cell address hi-z data output bus write v il v ih v il v ih x (2) command address hi-z data input (3) standby v ih xxv ih x x hi-z hi-z output disable v il v ih v ih v ih x x hi-z hi-z reset x x x v il x x hi-z hi-z 1. x = v il or v ih . 2. to write the four outermost parameter blocks (first two and the last two), vpp/wp must be equal to vih. 3. data input as required when issuing a command sequence, performing data polling or block protection. table 5. bus operations, 16-bit mode operation (1) e g w rp v pp /wp address inputs data inputs/outputs a22-a0 dq15a-1, dq14-dq0 bus read v il v il v ih v ih x cell address data output bus write v il v ih v il v ih x (2) command address data input (3) standby v ih xxv ih x x hi-z output disable v il v ih v ih v ih x x hi-z reset xxxv il x x hi-z 1. x = v il or v ih . 2. to write the four outermost parameter blocks (first two and last two), vpp/wp must be equal to vih. 3. data input as required when issuing a command sequence, performing data polling or block protection.
M29DW127G auto select mode 21/95 4 auto select mode the auto select mode allows the system or the programming equipment to read the electronic signature, verify the protection status of the extended memory block, and apply/remove block protection. for example, this mode can be used by a programming equipment to automatically match a device and the application code to be programmed. the auto select mode is entered by issuing the auto select command (see section 7.1.2: auto select command ). at power-up, the device is in read mode, and can then be put in auto select mode by issuing the auto select command. the device cannot enter auto select mode when a program or erase operation is ongoing (rb low). however, auto select mode can be entered if the erase operation has been suspended by issuing an erase suspend command (see section 7.1.6 ). the auto select mode is exited by performing a reset. the device is returned to read mode, except if the auto select mode was entered after an erase suspend or a program suspend command. in this case, it returns to the erase or program suspend mode. 4.1 read electronic signature the memory has two codes, the manufacturer code and the device code used to identify the memory. these codes can be accessed by performing read operations with control signals and addresses set as shown in table 9: block protection (16-bit mode) and table 6: read electronic signature, auto select mode method (8-bit mode) and table 7: read electronic signature, auto select mode method (16-bit mode) . 4.2 verify extended memory block protection indicator the extended memory block is either factory locked or customer lockable. the protection status of the extended memory block (factory locked or customer lockable) can be accessed by reading the extended memory block protection indicator. see table 8: block protection (8-bit mode) and table 9.: block protection (16-bit mode) . the protection status of the extended memory block is then output on bit dq7 of the data input/outputs (see table 4: bus operations, 8-bit mode and table 5: bus operations, 16-bit mode ). 4.3 verify block protection status the protection status of a block can be directly accessed by performing a read operation with control signals and addresses set as shown in table 8: block protection (8-bit mode) and table 9: block protection (16-bit mode) . if the block is protected, then 01h is output on data input/outputs dq0-dq7, otherwise 00h is output.
auto select mode M29DW127G 22/95 table 6. read electronic signature, auto select mode method (8-bit mode) read cycle (1) e g w address inputs data inputs/outputs a22- a10 a9- a7 a8 a6 a5- a4 a3 a2 a1 a0 dq15a-1 dq14- dq8 dq7- dq0 manufacturer code v il v il v ih bka x x v il xv il v il v il v il x x 20h device code (cycle 1) v il v il v il v il v ih xx7eh device code (cycle 2) v ih v ih v ih v il x x 20h device code (cycle 3) v ih v ih v ih v ih x x 04h 1. x = v il or v ih . bka bank address. table 7. read electronic signature, auto select mode method (16-bit mode) read cycle (1) e g w address inputs data inputs/outputs a22- a12 a11- a10 a9 a8 a7-a6 a5- a4 a3 a2 a1 a0 dq15-dq0 manufacturer code v il v il v ih bka x x x v il xv il v il v il v il 0020h device code (cycle 1) v il v il v il v il v ih 227eh device code (cycle 2) v ih v ih v ih v il 2220h device code (cycle 3) v ih v ih v ih v ih 2204h 1. x = v il or v ih . bka bank address.
M29DW127G auto select mode 23/95 table 8. block protection (8-bit mode) operation (1) e g w address inputs data inputs/outputs a22- a16 a14- a10 a9 a8- a7 a6 a5- a4 a3- a2 a1 a0 dq15 a-1 dq14- dq8 dq7-dq0 verify extended memory block protection indicator (bit dq7) v il v il v ih bkax xxv il xv il v ih v ih xx dq7: 1=factory locked dq6: 1=customer locked, 0=customer lockable dq5: 1=reserved, 0=standard dq4, dq3-hardware write protection: 00=wp protects 4 outermost blocks, 11=no wp protection dq2-dq0=0 verify block protection status bad v il 01h (protected) 00h (unprotected) 1. x = vil or vih; bad = any address in the block; bka = bank address. table 9. block protection (16-bit mode) operation (1) e g w rp v pp / wp address inputs data inputs/outputs a22- a12 a11- a10 a9 a8 a7 a6 a5- a4 a3- a2 a1 a0 dq15-dq0 verify extended memory block indicator bit v il v il v ih v ih v ih bka x x x v il v il v il v il v ih v ih dq15-dq8=0 dq7: 1=factory locked dq6: 1=customer locked, 0=customer lockable dq5: 1=reserved, 0=standard dq4, dq3-hardware write protection: 00=wp protects 4 outermost blocks, 11=no wp protection dq2-dq0=0 verify block protection status bad v il 0000h (unprotected) 0001h (protected) 1. x = v il or v ih . bad any address in the block, bka bank address.
hardware protection M29DW127G 24/95 5 hardware protection the M29DW127G features hardware protection/unprotection. refer to table 10: hardware protection for details on hardware block protection/unprotection using v pp /wp and rp pins. 5.1 write protect the v pp /wp pin can be used to protect the four outermost parameter blocks (refer to section 2: signal descriptions for a detailed description of the signals). when v pp /wp is at v il the four outermost parameter blocks are protected and remain protected regardless of the block protection status or the reset pin state. table 10. hardware protection v pp /wp function v il 4 outermost parameter blocks (first two and last two) protected from program/erase operations v ih 4 outermost parameter blocks unprotected unless a software activated (see section 5: hardware protection ) v pph unlock bypass mode. it supplies the current needed to speed up programming
M29DW127G software protection 25/95 6 software protection the M29DW127G has three different software protection modes: ? volatile protection ? non-volatile protection ? password protection on first use all parts default to operate in non-volatile protection mode and the customer is free to activate the non-volatile or the password protection mode. the desired protection mode is activated by setting either the one-time programmable non- volatile protection mode lock bit or the password protection mode lock bit of the lock register (see section 8.1: lock register ). programming the non-volatile protection mode lock bit or the password protection mode lock bit to ?0? will permanently activate the non-volatile or the password protection mode, respectively. these three bits are one-time programmable and non-volatile: once the protection mode has been programmed, it cannot be changed and the device will permanently operate in the selected protection mode. it is recommended to activate the desired software protection mode when first programming the device. the non-volatile and password protection modes provide non-volatile protection. volatilely protected blocks and non-volatilely protected blocks can co-exist within the memory array. however, the volatile protection only control the protection scheme for blocks that are not protected using the non-volatile or password protection. if the user attempts to program or erase a protected block, the device ignores the command and returns to read mode. the device is shipped with all blocks unprotected. the block protection status can be read either by performing a read electronic signature (see table 7: read electronic signature, auto select mode method (16-bit mode) ) or by issuing an auto select command (see table 20: block protection status ). for the four outermost blocks (that is the two blocks at the top and the two at the bottom of the address space), an even higher level of block protection can be achieved by locking the blocks using the non-volatile protection and then by holding the v pp /wp pin low. 6.1 volatile protection mode the volatile protection allows the software application to easily protect blocks against inadvertent change. however, the protection can be easily disabled when changes are needed. volatile protection bits, vpbs, are volatile and unique for each block and can be individually modified. vpbs only control the protection scheme for unprotected blocks that have their non-volatile protection bits, nvpbs, cleared (erased to ?1?) (see section 6.2: non- volatile protection mode and section 7.3.5: non-volatile protection mode command set ). by issuing the vpb program or vpb clear commands, the vpbs are set (programmed to ?0?) or cleared (erased to ?1?), thus placing each block in the protected or unprotected state respectively. the vpbs can be set (programmed to ?0?) or cleared (erased to ?1?) as often as needed. the default values of the volatile protections are set through the vlbb (volatile lock boot bit) of the lock register (see table 19: lock register bits ).
software protection M29DW127G 26/95 when the parts are first shipped, or after a power-up or hardware reset, the vpbs can be set or cleared depending upon the ordering option chosen: ? if the option to clear the vpbs after power-up is selected, then the blocks can be programmed or erased depending on the nvpbs state (see table 20: block protection status ) ? if the option to set the vpbs after power-up is selected, the blocks default to be protected. refer to section 7.3.7 for a description of the volatile protection mode command set. 6.2 non-volatile protection mode 6.2.1 non-volatile protection bits a non-volatile protection bit (nvpb) is assigned to each block. when a nvpb is set to ?0?, the associated block is protected, preventing any program or erase operations in this block. the nvpb bits are set individually by issuing a nvpb program command. they are non- volatile and will remain set through a hardware reset or a power-down/power-up sequence. the nvpbs cannot be cleared individually, they can only be cleared all at the same time by issuing a clear all non-volatile protection bits command. the nvpbs can be protected all at a time by setting a volatile bit, the nvpb lock bit (see section 6.2.2: non-volatile protection bit lock bit ). if one of the non-volatile protected blocks needs to be unprotected (corresponding nvpb set to ?1?), a few more steps are required: 1. first, the nvpb lock bit must be cleared by either putting the device through a power cycle, or hardware reset 2. the nvpbs can then be changed to reflect the desired settings 3. the nvpb lock bit must be set once again to lock the nvpbs. the device operates normally again. note: 1 to achieve the best protection, it is recommended to execute the nvpb lock bit program command early in the boot code and to protect the boot code by holding v pp /wp low, v il . 2 the nvpbs and vpbs have the same function when v pp /wp pin is high, v ih , as they do when v pp /wp pin is at the voltage for program acceleration (v pph ). refer to table 20: block protection status and figure 6: software protection scheme for details on the block protection mechanism, and to section 7.3.5 for a description of the non- volatile protection mode command set. 6.2.2 non-volatile protection bit lock bit the non-volatile protection bit lock bit (nvpb lock bit) is a global volatile bit for all blocks. when set (programmed to ?0?), it prevents changing the state of the nvpbs. when cleared (programmed to ?1?), the nvpbs can be set and reset using the nvpb program command and clear all nvpbs command, respectively. there is only one nvpb lock bit per device.
M29DW127G software protection 27/95 refer to section 7.3.6 for a description of the nvpb lock bit command set. note: 1 no software command unlocks this bit unless the device is in password protection mode; it can be cleared only by taking the device through a hardware reset or a power-up. 2 the nvpb lock bit must be set (programmed to ?0?) only after all nvpbs are configured to the desired settings. 6.3 password protection mode the password protection mode provides an even higher level of security than the non- volatile protection mode by requiring a 64-bit password for unlocking the device nvpb lock bit. in addition to this password requirement, the nvpb lock bit is set ?0? after power-up and reset to maintain the device in password protection mode. successful execution of the password unlock command by entering the correct password clears the nvpb lock bit, allowing for block nvpbs to be modified. if the password provided is not correct, the nvpl lock bit remains locked and the state of the nvpbs cannot be modified. to place the device in password protection mode, the following steps are required: 1. prior to entering the password protection mode, it is necessary to set a 64-bit password and to verify it (see password program command and password read command ). password verification is only allowed during the password programming operation 2. the password protection mode is then activated by programming the password protection mode lock bit to ?0?. this operation is not reversible and once the bit is programmed it cannot be erased, the device permanently remains in password protection mode, and the 64-bit password can neither be retrieved nor reprogrammed. moreover, all commands to the address where the password is stored, are disabled. refer to table 20: block protection status and figure 6: software protection scheme for details on the block protection scheme. refer to section 7.3.4 for a description of the password protection mode command set. note: there is no means to verify the password after it is set. if the password is lost after setting the password mode lock bit, there is no way to clear the nvpb lock bit.
software protection M29DW127G 28/95 figure 6. software protection scheme 1. nvpbs default to ?1? (block unprotected) after power-up and hardware reset. a block is protected or unprotected when its nvpb is set to ?0? and ?1?, respectively. nvpbs are programmed individually and cleared collectively. 2. vpb default status depends on ordering option. a block is protected or unprotected when its vpb is set to ?0? and ?1?, respectively. vpbs are programmed and cleared individually. for the volatile protection to be effective, the nvpb lock bit must be set to ?0? (nvpb bits unlocked) and the block nvpb must be set to ?1? (block unprotected). 3. the nvpb lock bit is volatile and default to ?1? (nvpb bits unlocked) after power-up and hardware reset. nvpb bits are locked by setting the nvpb lock bit to ?0?. once programmed to ?0?, the nvpb lock bit can be reset to ?1? only be taking the device through a power-up or hardware reset. ai13676 parameter block or main block nvpb (1) vpb (2) non-volatile protection mode volatile protection non-volatile protection password protection mode nvpb lock bit (3)
M29DW127G command interface 29/95 7 command interface all bus write operations to the memory are interpreted by the command interface. commands consist of one or more sequential bus write operations. failure to observe a valid sequence of bus write operations will result in the memory returning to read mode. the long command sequences are imposed to maximize data security. 7.1 standard commands see table 12: standard commands (16-bit mode) for a summary of the standard commands. 7.1.1 read/reset command the device is in read mode after reset or after power-up. the read/reset command returns the memory to read mode. it also resets the errors in the status register. either one or three bus write operations can be used to issue the read/reset command. the read/reset command can be issued, between bus write cycles before the start of a program or erase operation, to return the device to read mode. if the read/reset command is issued during the timeout of a block erase operation, the memory will take up to 10 s to abort. during the abort period no valid data can be read from the memory. the read/reset command will not abort an erase operation when issued while in erase suspend. 7.1.2 auto select command the auto select command puts the device in auto select mode (see section 4: auto select mode ). when in auto select mode, the system can read the manufacturer code, the device code, the protection status of each block (block protection status) and the extended memory block protection indicator. three consecutive bus write operations are required to issue the auto select command. once the auto select command is issued bus read operations to specific addresses output the manufacturer code, the device code, the extended memory block protection indicator and a block protection status (see table 12: standard commands (16-bit mode) in conjunction with table 7: read electronic signature, auto select mode method (16-bit mode) , and table 9: block protection (16-bit mode) ). the memory remains in auto select mode until a read/reset or cfi query command is issued.
command interface M29DW127G 30/95 7.1.3 read cfi query command the memory contains an information area, named cfi data structure, which contains a description of various electrical and timing parameters, density information and functions supported by the memory. see appendix b , ta bl e 38 , table 39 , table 40, table 41, table 42 and ta bl e 43 for details on the information contained in the common flash interface (cfi) memory area. the read cfi query command is used to put the memory in read cfi query mode. once in read cfi query mode, bus read operations to the memory will output data from the common flash interface (cfi) memory area. one bus write cycle is required to issue the read cfi query command. this command is valid only when the device is in the read array or auto select mode. the read/reset command must be issued to return the device to the previous mode (the read array mode or auto select mode). a second read/reset command is required to put the device in read array mode from auto select mode. 7.1.4 chip erase command the chip erase command can be used to erase the entire chip. six bus write operations are required to issue the chip erase command and start the program/erase controller. if some block are protected, then these are ignored and all the other blocks are erased. if all of the blocks are protected the chip erase operation appears to start but will terminate within about 100 s, leaving the data unchanged. no error condition is given when protected blocks are ignored. during the erase operation the memory will ignore all commands, including the erase suspend command. it is not possible to issue any command to abort the operation. typical chip erase times are given in table 18 . all bus read operations during the chip erase operation will output the status register on the data inputs/outputs. see section 8.2: status register for more details. after the chip erase operation has completed the memory will return to the read mode, unless an error has occurred. when an error occurs the memory will continue to output the status register. a read/reset command must be issued to reset the error condition and return to read mode. the chip erase command sets all of the bits in unprotected blocks of the memory to ?1?. all previous data is lost. the chip erase operation is aborted by performing a reset or powering down the device. in this case, data integrity cannot be ensured, and it is recommended to erase again the entire chip. 7.1.5 block erase command the block erase command can be used to erase a list of one or more blocks. it sets all of the bits in the unprotected selected blocks to ?1?. all previous data in the selected blocks is lost. six bus write operations are required to select the first block in the list. each additional block in the list can be selected by repeating the sixth bus write operation using the address of the additional block. after the command sequence is written, a block erase timeout occurs. during the timeout period, additional sector addresses and sector erase commands may be written. once the program/erase controller has started, it is not possible to select any more
M29DW127G command interface 31/95 blocks. each additional block must therefore be selected within the timeout period of the last block. the timeout timer restarts when an additional block is selected. after the sixth bus write operation, a bus read operation outputs the status register (bus reading operations from banks different from those including the blocks being erased, output the memory array content). see figure 19: write enable controlled program waveforms (8-bit mode) and figure 20: write enable controlled program waveforms (16-bit mode) for details on how to identify if the program/erase controller has started the block erase operation. after the block erase operation has completed, the memory returns to the read mode, unless an error has occurred. when an error occurs, bus read operations will continue to output the status register. a read/reset command must be issued to reset the error condition and return to read mode. if any selected blocks are protected then these are ignored and all the other selected blocks are erased. if all of the selected blocks are protected the block erase operation appears to start but will terminate within about 100 s, leaving the data unchanged. no error condition is given when protected blocks are ignored. during the block erase operation the memory ignores all commands except the erase suspend command and the read/reset command which is only accepted during the timeout period. typical block erase time and block erase timeout are given in ta bl e 1 8 . the block erase operation is aborted by performing a reset or powering down the device. in this case, data integrity cannot be ensured, and it is recommended to erase again the blocks aborted. 7.1.6 erase suspend command the erase suspend command can be used to temporarily suspend a block erase operation. one bus write operation is required to issue the command together with the block address. the program/erase controller suspends the erase operation within the erase suspend latency time of the erase suspend command being issued. however, when the erase suspend command is written during the block erase timeout, the device immediately terminates the timeout period and suspends the erase operation. once the program/erase controller has stopped, the memory operates in read mode and the erase is suspended. during erase suspend it is possible to read and execute program or write to buffer program operations in blocks that are not suspended; both read and program operations behave as normal on these blocks. reading from blocks that are suspended will output the status register. if any attempt is made to program in a protected block or in the suspended block then the program command is ignored and the data remains unchanged. in this case the status register is not read and no error condition is given. it is also possible to issue the auto select (after entering autoselect mode), read cfi query, and unlock bypass commands during an erase suspend. the read/reset command must be issued to return the device to read array mode before the resume command will be accepted. during erase suspend a bus read operation to the extended memory block will output the extended memory block data. once in the extended block mode, the exit extended block command must be issued before the erase operation can be resumed. the erase suspend command is ignored if written during chip erase operations.
command interface M29DW127G 32/95 refer to table 18: program, erase times and program, erase endurance cycles for the values of block erase timeout and block erase suspend latency time. if the erase suspend operation is aborted by performing a reset or powering down the device, data integrity cannot be ensured, and it is recommended to erase again the blocks suspended. 7.1.7 erase resume command the erase resume command is used to restart the program/erase controller after an erase suspend. the device must be in read array mode before the resume command will be accepted. an erase can be suspended and resumed more than once. 7.1.8 program suspend command the program suspend command allows the system to interrupt a program operation so that data can be read from any block. when the program suspend command is issued during a program operation, the device suspends the program operation within the program suspend latency time (see table 18: program, erase times and program, erase endurance cycles ) and updates the status register bits. after the program operation has been suspended, the system can read array data from any address. however, data read from program-suspended addresses is not valid. the program suspend command may also be issued during a program operation while an erase is suspended. in this case, data may be read from any addresses not in erase suspend or program suspend. if a read is needed from the extended memory block area (one-time program area), the user must use the proper command sequences to enter and exit this region. the system may also issue the auto select command sequence when the device is in the program suspend mode. the system can read as many auto select codes as required. when the device exits the auto select mode, the device reverts to the program suspend mode, and is ready for another valid operation. see auto select command sequence for more information. if the program suspend operation is aborted by performing a reset or powering down the device, data integrity cannot be ensured, and it is recommended to program again the words or bytes aborted. 7.1.9 program resume command after the program resume command is issued, the device reverts to programming. the controller can determine the status of the program operation using the dq7 or dq6 status bits, just as in the standard program operation. refer to figure 19: write enable controlled program waveforms (8-bit mode) and figure 20: write enable controlled program waveforms (16-bit mode) for details. the system must issue a program resume command, to exit the program suspend mode and to continue the programming operation. further issuing of the resume command is ignored. another program suspend command can be written after the device has resumed programming.
M29DW127G command interface 33/95 7.1.10 program command the program command can be used to program a value in the memory array one address at a time. the command requires four bus write operations, the final write operation latches the address and data in the internal state machine and starts the program/erase controller. programming can be suspended and then resumed by issuing a program suspend command and a program resume command, respectively. if the address falls in a protected block, the program command is ignored and the data remains unchanged. the status register is never read and no error condition is given. after programming has started, bus read operations output the status register content (bus reading operations from banks different from those including the block being programmed, output the memory array content). see figure 19: write enable controlled program waveforms (8-bit mode) and figure 20: write enable controlled program waveforms (16-bit mode) for more details. typical program times are given in table 18: program, erase times and program, erase endurance cycles . after the program operation has completed the memory will return to the read mode, unless an error has occurred. when an error occurs, bus read operations to the memory continue to output the status register. a read/reset command must be issued to reset the error condition and return to read mode. one of the erase commands must be used to set all the bits in a block or in the whole memory from ?0? to ?1?. the program operation is aborted by performing a reset or powering-down the device. in this case data integrity cannot be ensured, and it is recommended to reprogram the word or byte aborted.
command interface M29DW127G 34/95 table 11. standard commands (8-bit mode) command (1) length bus operations (2) 1st 2nd 3rd 4th 5th 6th add data add data add data add data add data add data read/reset 1x f0 3 aaa aa 555 55 x f0 auto select manufacturer code 3 aaa aa 555 55 (bka) aaa 90 (3)(4) (3)(4) device code extended memory block protection indicator block protection status program (5) 4 aaa aa 555 55 aaa a0 pa pd chip erase 6 aaa aa 555 55 aaa 80 aaa aa 555 55 aaa 10 block erase 6+ aaa aa 555 55 aaa 80 aaa aa 555 55 bad 30 erase/program suspend 1 bka b0 erase/program resume 1bka 30 read cfi query 1 bka aaa 98 1. the device doesn?t tolerate ffh as a valid command, and on ce ffh is issued to the device, the M29DW127G will enter unexpected state. adding a f0h command systematically after ffh command is necessary. 2. x don?t care, pa program address, pd program data, bad any address in block, bka bank address, values hexadecimal. 3. these cells represent read cycles. all the other cells are write cycles. 4. the auto select addresses and data are given in table 7: read electronic signature, auto select mode method (16-bit mode) , and table 9: block protection (16-bit mode) , except for a9 that is ?don?t care?. 5. in unlock bypass, the first two unlock cycles are no more needed (see table 14: fast program commands (16-bit mode) ).
M29DW127G command interface 35/95 7.2 fast program commands the M29DW127G offers a set of fast program commands to improve the programming throughput: ? write to buffer program ? enhanced buffered program ? unlock bypass. see table 14: fast program commands (16-bit mode) for a summary of the fast program commands. when v pph is applied to the v pp /write protect pin the memory automatically enters unlock bypass mode (see section 7.2.6: unlock bypass command ). after programming has started, bus read operations in the memory output the status register content (bus reading operations from banks different from those including the block being programmed, output the memory array content). write to buffer program command can be table 12. standard commands (16-bit mode) command (1) length bus operations (2) 1st 2nd 3rd 4th 5th 6th add data add data add data add data add data add data read/reset 1x f0 3 555 aa 2aa 55 x f0 auto select manufacturer code 3 555 aa 2aa 55 (bka) 555 90 (3)(4) (3)(4) device code extended memory block protection indicator block protection status program (5) 4 555 aa 2aa 55 555 a0 pa pd chip erase 6 555 aa 2aa 55 555 80 555 aa 2aa 55 555 10 block erase 6+ 555 aa 2aa 55 555 80 555 aa 2aa 55 bad 30 erase/program suspend 1 bka b0 erase/program resume 1 bka 30 read cfi query 1 bka (555) 98 1. the device doesn?t tolerate ffh as a valid command, and on ce ffh is issued to the device, the M29DW127G will enter unexpected state. adding a f0h command systematically after ffh command is necessary. 2. x don?t care, pa program address, pd program data, bad any address in block, bka bank address, values hexadecimal. 3. these cells represent read cycles. all the other cells are write cycles. 4. the auto select addresses and data are given in table 7: read electronic signature, auto select mode method (16-bit mode) , and table 9: block protection (16-bit mode) , except for a9 that is ?don?t care?. 5. in unlock bypass, the first two unlock cycles are no more needed (see table 14: fast program commands (16-bit mode) ).
command interface M29DW127G 36/95 suspended and then resumed by issuing a program suspend command and a program resume command, respectively (see section 7.1.8: program suspend command and section 7.1.9: program resume command ). after the fast program operation has completed, the memory will return to the read mode, unless an error has occurred. when an error occurs bus read operations to the memory will continue to output the status register. a read/reset command must be issued to reset the error condition and return to read mode. one of the erase commands must be used to set all the bits in a block or in the whole memory from ?0? to ?1?. typical program times are given in table 18: program, erase times and program, erase endurance cycles . 7.2.1 write to buffer program command the write to buffer program command makes use of the device?s 32-word / 64 byte write buffer to speed up programming. 32 words / 64 bytes can be loaded into the write buffer. each write buffer has the same a22-a5 addresses.the write to buffer program command dramatically reduces system programming time compared to the standard non-buffered program command. when issuing a write to buffer program command, the v pp /wp pin can be either held high, v ih , or raised to v pph . see ta bl e 18 for details on typical write to buffer program times in both cases. the following successive steps are required to issue the write to buffer program command: 1. the write to buffer program command starts with two unlock cycles 2. the third bus write cycle sets up the write to buffer program command. the setup code can be addressed to any location within the targeted block 3. the fourth bus write cycle sets up the number of words/bytes to be programmed. value n is written to the same block address, where n+1 is the number of words/bytes to be programmed. n+1 must not exceed the size of the write buffer or the operation will abort 4. the fifth cycle loads the first address and data to be programmed 5. use n bus write cycles to load the address and data for each word/byte into the write buffer. addresses must lie within the range from the start address+1 to the start address + n-1. all the addresses used in the write to buffer program operation must lie within the same page. to program the content of the write buffer, this command must be followed by a write to buffer program confirm command. if an address is written several times during a write to buffer program operation, the address/data counter will be decremented at each data load operation and the data will be programmed to the last word loaded into the buffer. invalid address combinations or failing to follow the correct sequence of bus write cycles will abort the write to buffer program. the status register bits dq1, dq5, dq6, dq7 can be used to monitor the device status during a write to buffer program operation. it is possible to detect program operation fails when changing programmed data from ?0? to ?1?, that is when reprogramming data in a portion of memory already programmed.
M29DW127G command interface 37/95 see appendix d , figure 29: write to buffer program flowchart and pseudocode , for a suggested flowchart on using the write to buffer program command. 7.2.2 enhanced buffered program command the enhanced buffered program command makes use of the device?s 256-word write buffer to speed up programming. 256 words can be loaded into the write buffer. each write buffer has the same a22-a8 addresses. the enhanced buffered program command dramatically reduces system programming time compared to both the standard non-buffered program command and the write to buffer command. when issuing an enhanced buffered program command, the v pp /wp pin can be either held high, v ih , or raised to v pph . see table 18: program, erase times and program, erase endurance cycles for details on typical enhanced buffered program times in both cases. three successive steps are required to issue the enhanced buffered program command: ? the enhanced buffered program command starts with two unlock cycles ? the third bus write cycle sets up the enhanced buffered program command. the setup code can be addressed to any location within the targeted block ? the fourth bus write cycle loads the first address and data to be programmed. there a total of 256 address and data loading cycles. to program the content of the write buffer, the enhanced buffered program command must be followed by an enhanced buffered program confirm command. the command ends with an internal enhanced buffered program confirm cycle. note that address/data cycles must be loaded in an increasing address order (from add[7:0]=00000000 to add[7:0]=11111111) and completely (all 256 words). invalid address combinations or failing to follow the correct sequence of bus write cycles will abort the enhanced buffered program. the status register bits dq1, dq5, dq6, and dq7 can be used to monitor the device status during an enhanced buffered program operation. an external supply (12 v) can be used to improve programming efficiency. it is possible to detect program operation fails when changing programmed data from ?0? to ?1?, that is when reprogramming data in a portion of memory already programmed. the resulting data will be the logical or between the previous and the current value. see appendix d and figure 30: enhanced buffered program flowchart and pseudocode , for a suggested flowchart on using the enhanced buffered program command. 7.2.3 buffered program abort and reset command a buffered program abort and reset command must be issued to abort the write to buffer program and enhanced buffered program operation and reset the device in read mode.
command interface M29DW127G 38/95 the write to buffer and enhanced buffered programming sequence can be aborted in the following ways: ? load a value that is greater than the page buffer size during the number of locations to program step in the write to buffer program command ? write to an address in a block different than the one specified during the write-buffer- load command ? write an address/data pair to a different write-buffer-page than the one selected by the starting address during the write buffer data loading stage of the operation ? write data other than the confirm command after the specified number of data load cycles ? load address/data pairs in an incorrect sequence during the enhanced buffered program. the abort condition is indicated by dq1 = 1, dq7 = dq7 (for the last address location loaded), dq6 = toggle, and dq5 = 0 (all of which are status register bits). a buffered program abort and reset command sequence must be written to reset the device for the next operation. note that the full 3-cycle buffered program abort and reset command sequence is required when using write to buffer and enhanced buffered programming features in unlock bypass mode. 7.2.4 write to buffer program confirm command the write to buffer program confirm command is used to confirm a write to buffer program command and to program the n+1 words/bytes loaded in the write buffer by this command. 7.2.5 enhanced buffered program confirm command the enhanced buffered program confirm command is used to confirm an enhanced buffered program command and to program the 256 words loaded in the buffer. 7.2.6 unlock bypass command the unlock bypass command is used to place the device in unlock bypass mode. when the device enters the unlock bypass mode, the two initial unlock cycles required in the standard program command sequence are no more needed, and only two write cycles are required to program data, instead of the normal four cycles (see note 5 below table 12: standard commands (16-bit mode) ). this results in a faster total programming time. unlock bypass command is consequently used in conjunction with the unlock bypass program command to program the memory faster than with the standard program commands. when the cycle time to the device is long, considerable time saving can be made by using these commands. three bus write operations are required to issue the unlock bypass command.
M29DW127G command interface 39/95 when in unlock bypass mode, only the following commands are valid: ? the unlock bypass program command can be issued to program addresses within the memory ? the unlock bypass block erase command can then be issued to erase one or more memory blocks ? the unlock bypass chip erase command can be issued to erase the whole memory array ? the unlock bypass write to buffer program command can be issued to speed up programming operation ? the unlock bypass enhanced buffered program command can be issued to speed up programming operation ? the unlock bypass cfi command can be issued to read the cfi when the memory is in the unlock bypass mode ? the unlock bypass reset command can be issued to return the memory to read mode. in unlock bypass mode the memory can be read as if in read mode. 7.2.7 unlock bypass program command the unlock bypass program command can be used to program one address in the memory array at a time. the command requires two bus write operations, the final write operation latches the address and data and starts the program/erase controller. the program operation using the unlock bypass program command behaves identically to the program operation using the program command. the operation cannot be aborted, a bus read operation to the memory outputs the status register (bus reading operations from a bank different from the one including the block being programmed, output the memory array content). see the program command for details on the behavior. 7.2.8 unlock bypass block erase command the unlock bypass block erase command can be used to erase one or more memory blocks at a time. the command requires two bus write operations instead of six using the standard block erase command. the final bus write operation latches the address of the block and starts the program/erase controller. to erase multiple block (after the first two bus write operations have selected the first block in the list), each additional block in the list can be selected by repeating the second bus write operation using the address of the additional block. the unlock bypass block erase command behaves in the same way as the block erase command: the operation cannot be aborted, and a bus read operation to the memory outputs the status register (bus reading operations from banks different from those including the blocks being erased, output the memory array content). see section 7.1.5: block erase command for details. 7.2.9 unlock bypass chip erase command the unlock bypass chip erase command can be used to erase all memory blocks at a time. the command requires two bus write operations only instead of six using the standard chip erase command. the final bus write operation starts the program/erase controller.
command interface M29DW127G 40/95 the unlock bypass chip erase command behaves in the same way as the chip erase command: the operation cannot be aborted, and a bus read operation to the memory outputs the status register (see section 7.1.4: chip erase command for details). 7.2.10 unlock bypass write to buffer program command the unlock bypass write to buffer command can be used to program the memory in fast program mode. the command requires two bus write operations less than the standard write to buffer program command. the unlock bypass write to buffer program command behaves in the same way as the write to buffer program command: the operation cannot be aborted and a bus read operation to the memory outputs the status register (bus reading operations from a bank different from the one including the block being programmed, output the memory array content). see section 7.2.1: write to buffer program command for details. the write to buffer program confirm command is used to confirm an unlock bypass write to buffer program command and to program the n+1 words/bytes loaded in the write buffer by this command. 7.2.11 unlock bypass enhanced buffered program command the unlock bypass enhanced buffered program command can be used to program the memory in fast program mode. the command requires two address/data loading cycles less than the standard enhanced buffered program command (see table 15: enhanced buffered program commands ). the unlock bypass enhanced buffered program command behaves identically to the enhanced buffered program operation using the enhanced buffered program command. the operation cannot be aborted and a bus read operation to the memory outputs the status register (bus reading operations from a bank different from the one including the block being programmed, output the memory array content). see section 7.2.2: enhanced buffered program command for details on the behavior. the enhanced buffered program confirm command is used to confirm an unlock bypass enhanced buffered program command and to program the 256 words loaded in the buffer. 7.2.12 unlock bypass cfi command the unlock bypass cfi command allows to use any address in the bank to perform a cfi query when the memory is in the unlock bypass mode. 7.2.13 unlock bypass reset command the unlock bypass reset command can be used to return to read/reset mode from unlock bypass mode. two bus write operations are required to issue the unlock bypass reset command. read/reset command does not exit from unlock bypass mode.
M29DW127G command interface 41/95 table 13. fast program commands (8-bit mode) command length bus write operations (1) 1st 2nd 3rd 4th 5th 6th add data add data add data add data add data add data write to buffer program n+5 aaa aa 555 55 bad 25 bad n (2) pa (3) pd wbl (4) pd write to buffer program confirm 1 bad (5) 29 buffered program abort and reset 3 aaa aa 555 55 aaa f0 unlock bypass 3 aaa aa 555 55 aaa 20 unlock bypass program 2xa0papd unlock bypass block erase 2+ x 80 bad 30 unlock bypass chip erase 2x80x10 unlock bypass write to buffer program n+3 bad 25 bad n (2) pa (3) pd wbl (4) pd unlock bypass cfi 1 bka 98 unlock bypass reset 2x90x00 1. x don?t care, pa program address, pd program data, bad any address in the block, bka bank address, wbl write buffer location. all values in the table are in hexadecimal. 2. the maximum number of cycles in the command sequence is 36. n+1 is the number of words to be programmed during the write to buffer program operation. 3. each buffer has the same a22-a5 addresses. a0-a4 are used to select a word within the n+1 word page. 4. the 6th cycle has to be issued n time. wbl scans the word inside the page. 5. bad must be identical to the address loaded during the write to buffer program 3rd and 4th cycles. table 14. fast program commands (16-bit mode) command length bus write operations (1) 1st 2nd 3rd 4th 5th 6th add data add data add data add data add data add data write to buffer program n+5 555 aa 2aa 55 bad 25 bad n (2) pa (3) pd wbl (4) pd write to buffer program confirm 1 bad (5) 29 buffered program abort and reset 3 555 aa 2aa 55 555 f0 unlock bypass 3 555 aa 2aa 55 555 20
command interface M29DW127G 42/95 unlock bypass program 2 x a0 pa pd unlock bypass block erase 2+ x 80 bad 30 unlock bypass chip erase 2x80x10 unlock bypass write to buffer program n+3 bad 25 bad n (2) pa (3) pd wbl (4) pd unlock bypass cfi 1bka98 unlock bypass reset 2x90x00 1. x don?t care, pa program address, pd program data, bad any address in the block, bka bank address, wbl write buffer location. all values in the table are in hexadecimal. 2. the maximum number of cycles in the command sequence is 36. n+1 is the number of words to be programmed during the write to buffer program operation. 3. each buffer has the same a22-a5 addresses. a0-a4 are used to select a word within the n+1 word page. 4. the 6th cycle has to be issued n time. wbl scans the word inside the page. 5. bad must be identical to the address loaded during the write to buffer program 3rd and 4th cycles. table 15. enhanced buffered program commands (1)(2) command length bus write operations 1st 2nd 3rd 4th ... 257th 258th 259th 260th add data add data add data add data add data add data add data add data add data enhanced buffered program 259 555 aa 2aa 55 bad 33 bad (00) data ... ... bad (ff) data enhanced buffered program confirm 1 bad (00) 29 unlock bypass enhanced buffered program 257 bad 33 bad (00) data bad (ff) data 1. only available from week 8 of 2008. 2. bad any address in the block. table 14. fast program commands (16-bit mode) command length bus write operations (1) 1st 2nd 3rd 4th 5th 6th add data add data add data add data add data add data
M29DW127G command interface 43/95 7.3 protection commands blocks can be protected individually against accidental program, erase or read operations. the device block protection scheme is shown in figure 6: software protection scheme . see table 17: block protection commands (16-bit mode) for a summary of the block protection commands. the memory block and extended memory block protection is configured through the lock register (see section 8.1: lock register ). 7.3.1 enter extended memory block command the M29DW127G has one extra 256-word block (extended memory block) that can only be accessed using the enter extended memory block command. the extended memory block is divided in two memory areas of 128 words each: the first one is factory locked and the second one is customer lockable. three bus write cycles are required to issue the extended memory block command. once the command has been issued the device enters the extended memory block mode where all bus read or program operations are conducted on the extended memory block. once the device is in the extended block mode, the extended memory block is addressed by using the addresses occupied by the first boot block in the other operating modes (see table 37: block addresses ). the device remains in extended memory block mode until the exit extended memory block command is issued or power is removed from the device. after power-up or hardware reset, the device reverts to read mode where the commands issued to the first boot block address space will address the first boot block. the extended memory block cannot be erased, and can be treated as one-time programmable (otp) memory. in extended block mode only array cell locations (bank a) with the same addresses as the extended block are not accessible. in extended block mode dual operations are allowed and the extended block physically belongs to bank a. in extended block mode, erase, chip erase, erase suspend and erase resume commands are not allowed. to exit from the extended memory block mode the exit extended memory block command must be issued. the extended memory block can be protected by setting the extended memory block protection bit to ?1? (see section 8.1: lock register ); however once protected the protection cannot be undone. note: when the device is in the extended memory block mode, the v pp /wp pin cannot be used for fast programming and the unlock bypass mode is not available (see section 2.8: vpp/write protect (vpp/wp) ). 7.3.2 exit extended memory block command the exit extended memory block command is used to exit from the extended memory block mode and return the device to read mode. four bus write operations are required to issue the command.
command interface M29DW127G 44/95 7.3.3 lock register command set the M29DW127G offers a set of commands to access the lock register and to configure and verify its content. see the following sections in conjunction with section 8.1: lock register and table 17: block protection commands (16-bit mode) . enter lock register command set command three bus write cycles are required to issue the enter lock register command set command. once the command has been issued, all bus read or program operations are issued to the lock register. lock register program and lock register read command the lock register program command allows to configure the lock register. the programmed data can then be checked by issuing a lock register read command. an exit protection command set command must then be issued to return the device to read mode (see section 7.3.8: exit protection command set command ). 7.3.4 password protection mode command set enter password protection command set command three bus write cycles are required to issue the enter password protection command set command. once the command has been issued, the commands related to the password protection mode can be issued to the device. password program command the password program command is used to program the 64-bit password used in the password protection mode. to program the 64-bit password, the complete command sequence must be entered four times at four consecutive addresses selected by a1-a0. the password can be checked by issuing a password read command. once password program operation has completed, an exit protection command set command must be issued to return the device to read mode. the password protection mode can then be selected. by default, all password bits are set to ?1?. password read command the password read command is used to verify the password used in password protection mode. to verify the 64-bit password, the complete command sequence must be entered four times at four consecutive addresses selected by a1-a0. if the password mode lock bit is programmed and the user attempts to read the password, the device will output ffh onto the i/o data bus. an exit protection command set command must be issued to return the device to read mode.
M29DW127G command interface 45/95 password unlock command the password unlock command is used to clear the nvpb lock bit allowing to modify the nvpbs. the password unlock command must be issued along with the correct password. there must be a 1 s delay between successive password unlock commands in order to prevent hackers from cracking the password by trying all possible 64-bit combinations. if this delay is not respected, the latest command will be ignored. approximately 1 s is required for unlocking the device after the valid 64-bit password has been provided. 7.3.5 non-volatile protection mode command set enter non-volatile protection command set command three bus write cycles are required to issue the enter non-volatile protection command set command. once the command has been issued, the commands related to the non-volatile protection mode can be issued to the device. non-volatile protection bit program command (nvpb program) a block can be protected from program or erase by issuing a non-volatile protection bit command along with the block address. this command sets the nvpb to ?1? for a given block. read non-volatile protection bit status command (read nvpb status) the status of a nvpb for a given block or group of blocks can be read by issuing a read non-volatile modify protection bit command along with the block address. clear all non-volatile protection bits command (clear all nvpbs) the nvpbs are erased simultaneously by issuing a clear all non-volatile protection bits command. no specific block address is required. if the nvpb lock bit is set to ?0?, the command fails.
command interface M29DW127G 46/95 figure 7. nvpb program/erase algorithm ai14242 yes dq6= toggle no yes no enter nvpb command set. program nvpb addr = bad read byte twice addr = bad dq5=1 read byte twice addr = bad no yes wait 500 s dq6= toggle read byte twice addr = bad fail reset pass dq0= '1'(erase) '0'(program) no exit nvpb command set
M29DW127G command interface 47/95 7.3.6 nvpb lock bit command set enter nvpb lock bit command set command three bus write cycles are required to issue the enter nvpb lock bit command set command. once the command has been issued, the commands allowing to set the nvpb lock bit can be issued to the device. nvpb lock bit program command this command is used to set the nvpb lock bit to ?0? thus locking the nvpbs, and preventing them from being modified. read nvpb lock bit status command this command is used to read the status of the nvpb lock bit. 7.3.7 volatile protection mode command set enter volatile protection command set command three bus write cycles are required to issue the enter volatile protection command set command. once the command has been issued, the commands related to the volatile protection mode can be issued to the device. volatile protection bit program command (vpb program) the vpb program command individually sets a vpb to ?0? for a given block. if the nvpb for the same block is set, the block is locked regardless of the value of the vpb bit (see table 20: block protection status ). read vpb status command the status of a vpb for a given block can be read by issuing a read vpb status command along with the block address. vpb clear command the vpb clear command individually clears (sets to ?1?) the vpb for a given block. if the nvpb for the same block is set, the block is locked regardless of the value of the vpb bit. (see table 20: block protection status ). 7.3.8 exit protection command set command the exit protection command set command is used to exit from the lock register, password protection, non-volatile protection, volatile protection, and nvpb lock bit command set mode. it returns the device to read mode.
command interface M29DW127G 48/95 table 16. block protection commands (8-bit mode) (1)(2)(3) command length bus operations 1st 2nd 3rd 4th 5th 6th 7th ad data ad data ad data ad data ad data ad data ad data lock register enter lock register command set (4) 3 aaa aa 555 55 aaa 40 lock register program 2 x a0 00 data (5) lock register read 1 x data (5) password protection enter password protection command set (4) 3 aaa aa 555 55 aaa 60 password program (6)(7) 2 x a0 pwan pwdn password read 4 00 pwd0 01 pwd1 02 pwd2 03 pwd3 password unlock (7) 7 00 25 00 03 00 pwd001pwd102pwd203pwd300 29 non-volatile protection enter non-volatile protection command set (4) 3 aaa aa 555 55 (bka) aaa c0 nvpb program (8) 2x a0 (bka) bad 00 clear all nvpbs (9) 2 x 80 00 30 read nvpb status 1 (bka) bad rd(0) nvpb lock bit enter nvpb lock bit command set 3 aaa aa 555 55 aaa 50 nvpb lock bit program 2 x a0 x 00 read nvpb lock bit status 1 bka rd(0) volatile protection enter volatile protection command set 3 aaa aa 555 55 (bka) aaa e0 vpb program 2 x a0 (bka) bad 00 read vpb status 1 (bka) bad rd(0) vpb clear 2 x a0 (bka) bad 01 extended block sector enter extended block 3 aaa aa 555 55 aaa 88 extended block program (4) 2x a0 padata (5) extended block read (4) 1addata (5) exit extended block 4 aaa aa 555 55 aaa 90 x 00 exit protection command set (10) 2x 90 x 00 1. pa program address, ad address, bad any address in the block, bka bank address, rd read data, pwdn password word (n = 0 to 3) , pwan password address (n = 0 to 3), x don?t care. all values in the table are in hexadecimal. 2. grey cells represent read cycles. the other cells are write cycles. 3. dq15 to dq8 are ?don?t care? during unlock and command cycles. a22 to a16 are ?don?t care? during unlock and command cycles u nless an address is required. 4. an enter command sequence must be issued prior to any operation. it disables read and write operations from and to block 0. r ead and write operations from any other block are allowed. 5. data = extended block content. 6. only one portion of password can be programmed or read by each password program command. 7. the password portion can be entered or read in any order as long as the entire 64-bit password is entered or read. 8. protected and unprotected states correspond to 00 and 01, respectively. 9. the clear all nvpbs command programs all nvpbs before erasure in order to prevent the over-erasure of previously cleared non- volatile modify protection bits. 10. if an entry command set command is issued, an exit protection command set command must be issued to return the device to rea d mode.
M29DW127G command interface 49/95 table 17. block protection commands (16-bit mode) (1)(2)(3) command length bus operations 1st 2nd 3rd 4th 5th 6th 7th ad data ad data ad data ad data ad data ad data ad data lock register enter lock register command set (4) 3 555 aa 2aa 55 555 40 lock register program 2 x a0 00 data (5) lock register read 1 x data (5) password protection enter password protection command set (4) 3 555 aa 2aa 55 555 60 password program (6)(7) 2 x a0 pwan pwdn password read 4 00 pwd0 01 pwd1 02 pwd2 03 pwd3 password unlock (7) 7 00 25 00 03 00 pwd001pwd102pwd203pwd300 29 non-volatile protection enter non-volatile protection command set (4) 3 555 aa 2aa 55 (bka) 555 c0 nvpb program (8) 2x a0 (bka) bad 00 clear all nvpbs (9) 2 x 80 00 30 read nvpb status 1 (bka) bad rd(0) nvpb lock bit enter nvpb lock bit command set 3 555 aa 2aa 55 555 50 nvpb lock bit program 2 x a0 x 00 read nvpb lock bit status 1 bka rd(0) volatile protection enter volatile protection command set 3 555 aa 2aa 55 (bka) 555 e0 vpb program 2 x a0 (bka) bad 00 read vpb status 1 (bka) bad rd(0) vpb clear 2 x a0 (bka) bad 01 extended block sector enter extended block 3 555 aa 2aa 55 555 88 extended block program (4) 2x a0 padata (5) extended block read (4) 1addata (5) exit extended block 4 555 aa 2aa 55 555 90 x 00 exit protection command set (10) 2x 90 x 00 1. pa program address, ad address, bad any address in the block, bka bank address, rd read data, pwdn password word (n = 0 to 3) , pwan password address (n = 0 to 3), x don?t care. all values in the table are in hexadecimal. 2. grey cells represent read cycles. the other cells are write cycles. 3. dq15 to dq8 are ?don?t care? during unlock and command cycles. a22 to a16 are ?don?t care? during unlock and command cycles u nless an address is required. 4. an enter command sequence must be issued prior to any operation. it disables read and write operations from and to block 0. r ead and write operations from any other block are allowed. 5. data = extended block content. 6. only one portion of password can be programmed or read by each password program command. 7. the password portion can be entered or read in any order as long as the entire 64-bit password is entered or read. 8. protected and unprotected states correspond to 00 and 01, respectively. 9. the clear all nvpbs command programs all nvpbs before erasure in order to prevent the over-erasure of previously cleared non- volatile modify protection bits. 10. if an entry command set command is issued, an exit protection command set command must be issued to return the device to rea d mode.
command interface M29DW127G 50/95 table 18. program, erase times and program, erase endurance cycles parameter min typ (1)(2) max (2) unit chip erase 40 400 (3) s block erase (128 kwords/256 kbytes) (4) 1s erase suspend latency time 25 35 s block erase timeout 50 s byte program single byte program 16 200 (3) s write to buffer program (64 bytes at-a-time) v pp /wp =v pph 51 s v pp /wp =v ih 78 word program single word program 16 200 (3) s write to buffer program (32 words at-a-time) v pp /wp =v pph 51 s v pp /wp =v ih 78 chip program (byte by byte) 270 800 (3) s chip program (word by word) 135 400 (3) s chip program (write to buffer program) (5) 20 200 (3) s chip program (write to buffer program with v pp /wp =v pph ) (5) 13 50 (3) s chip program (enhanced buffered program) (5) 840s chip program (enhanced buffered program with v pp /wp =v pp ) (5) 525s program suspend latency time 5 15 s program/erase cycles (per block) 100,000 cycles data retention 20 years 1. typical values measured at room temperature and nominal voltages and for not cycled devices. 2. sampled, but not 100% tested. 3. maximum value measured at worst case conditions for both temperature and v cc after 100,000 program/erase cycles. 4. block erase polling cycle time (see figure 26: data polling ac waveforms ). 5. intrinsic program timing, that means without the time requi red to execute the bus cycles to load the program commands.
M29DW127G registers 51/95 8 registers the device feature two registers: ? a lock register that allows to configure the memory blocks and extended memory block protection (see table 20: block protection status ) ? a status register that provides information on the current or previous program or erase operations. 8.1 lock register the lock register is a 16-bit one-time programmable register. the bits in the lock register are summarized in table 19: lock register bits . see section 7.3.3: lock register command set for a description of the commands allowing to read and program the lock register. 8.1.1 volatile lock boot bit (dq4) dq4 sets the default values for volatile block protection: when programmed, the blocks are protected at power-up. 8.1.2 password protection mode lock bit (dq2) the password protection mode lock bit, dq2, is one-time programmable. programming (setting to ?0?) this bit permanently places the device in password protection mode. any attempt to program the password protection mode lock bit when the non-volatile protection mode bit is programmed causes the operation to abort and the device to return to read mode. 8.1.3 non-volatile protection mode lock bit (dq1) the non-volatile protection mode lock bit, dq1, is one-time programmable. programming (setting to ?0?) this bit permanently places the device in non-volatile protection mode. when shipped from the factory, all parts default to operate in non-volatile protection mode. the memory blocks can be either unprotected (nvpbs set to ?1?) or protected (nvpbs set to ?0?), according to the ordering option that has been chosen. any attempt to program the non-volatile protection mode lock bit when the password protection mode bit is programmed causes the operation to abort and the device to return to read mode. 8.1.4 extended block protection bit (dq0) if the device has not been shipped with the extended memory block factory locked, the block can be protected by setting the extended memory block protection bit, dq0, to ?0?. however, this bit is one-time programmable and once protected the extended memory block cannot be unprotected. the extended memory block protection status can be read in auto select mode by issuing an auto select command (see table 12: standard commands (16-bit mode) ).
registers M29DW127G 52/95 8.1.5 dq15 to dq5 and dq3 reserved they are ?don?t care?. table 19. lock register bits (1) dq15-5 dq4 dq3 dq2 dq1 dq0 don?t care volatile lock boot bit don?t care password protection mode lock bit non-volatile protection mode lock bit extended block protection bit 1. dq0, dq1, dq2 and dq4 are set to ?1? when shipped from the factory. table 20. block protection status nvpb lock bit (1) block nvpb (2) block vpb (3) block protection status block protection status 0 0 x 01h block protected (non-volatile protection through nvpb) 0 1 1 00h block unprotected 0 1 0 00h block protected (volatile protection through vpb) 1 0 x 01h block protected (non-volatile protection through nvpb) 1 1 0 01h block protected (volatile protection through vpb) 1 1 1 00h block unprotected 1. if the nvpb lock bit is set to ?0?, all nvpbs are locked. if the nvpb lock bit is set to ?1?, all nvpbs are unlocked. 2. if the block nvpb is set to ?0?, the block is protected, if set to ?1?, it is unprotected. 3. if the block vpb is set to ?0?, the block is protected, if set to ?1?, it is unprotected.
M29DW127G registers 53/95 figure 8. lock register program flowchart 1. pd is the programmed data (see table 19: lock register bits ). 2. the lock register can only be programmed once. start pass: write lock register exit command: add dont' care, data 90h add dont' care, data 00h ai13677 done yes yes no dq5 = 1 no write unlock cycles: add 555h, data aah add 2aah, data 55h unlock cycle 1 unlock cycle 2 write enter lock register command set: add 555h, data 40h program lock register data: add dont' care, data a0h add dont' care (1) , data pdh polling algorithm device returned to read mode fail reset to return the device to read mode
registers M29DW127G 54/95 8.2 status register the M29DW127G has one status register. the various bits convey information and errors on the current and previous program/erase operation. bus read operations from any address within the memory, always read the status register during program and erase operations. it is also read during erase suspend when an address within a block being erased is accessed. the bits in the status register are summarized in table 21: status register bits . 8.2.1 data polling bit (dq7) the data polling bit can be used to identify whether the program/erase controller has successfully completed its operation or if it has responded to an erase suspend. the data polling bit is output on dq7 when the status register is read. during program operations the data polling bit outputs the complement of the bit being programmed to dq7. after successful completion of the program operation the memory returns to read mode and bus read operations, from the address just programmed, output dq7, not its complement. during erase operations the data polling bit outputs ?0?, the complement of the erased state of dq7. after successful completion of the erase operation the memory returns to read mode. in erase suspend mode the data polling bit will output a ?1? during a bus read operation within a block being erased. the data polling bit will change from ?0? to ?1? when the program/erase controller has suspended the erase operation. figure 9: data polling flowchart , gives an example of how to use the data polling bit. a valid address is the address being programmed or an address within the block being erased. 8.2.2 toggle bit (dq6) the toggle bit can be used to identify whether the program/erase controller has successfully completed its operation or if it has responded to an erase suspend. the toggle bit is output on dq6 when the status register is read. during a program/erase operation the toggle bit changes from ?0? to ?1? to ?0?, etc., with successive bus read operations at any address. after successful completion of the operation the memory returns to read mode. during erase suspend mode the toggle bit will output when addressing a cell within a block being erased. the toggle bit will stop toggling when the program/erase controller has suspended the erase operation. figure 10: data toggle flowchart , gives an example of how to use the data toggle bit. 8.2.3 error bit (dq5) the error bit can be used to identify errors detected by the program/erase controller. the error bit is set to ?1? when a program, block erase or chip erase operation fails to write the correct data to the memory. if the error bit is set a read/reset command must be issued
M29DW127G registers 55/95 before other commands are issued. the error bit is output on dq5 when the status register is read. note that the program command cannot change a bit set to ?0? back to ?1? and attempting to do so will set dq5 to ?1?. a bus read operation to that address will show the bit is still ?0?. one of the erase commands must be used to set all the bits in a block or in the whole memory from ?0? to ?1?. 8.2.4 erase timer bit (dq3) the erase timer bit can be used to identify the start of program/erase controller operation during a block erase command. once the program/erase controller starts erasing the erase timer bit is set to ?1?. before the program/erase controller starts the erase timer bit is set to ?0? and additional blocks to be erased may be written to the command interface. the erase timer bit is output on dq3 when the status register is read. 8.2.5 alternative toggle bit (dq2) the alternative toggle bit can be used to monitor the program/erase controller during erase operations. the alternative toggle bit is output on dq2 when the status register is read. during chip erase and block erase operations the toggle bit changes from ?0? to ?1? to ?0?, etc., with successive bus read operations from addresses within the blocks being erased. a protected block is treated the same as a block not being erased. once the operation completes the memory returns to read mode. during erase suspend the alternative toggle bit changes from ?0? to ?1? to ?0?, etc. with successive bus read operations from addresses within the blocks being erased. bus read operations to addresses within blocks not being erased will output the memory array data as if in read mode. after an erase operation that causes the error bit to be set, the alternative toggle bit can be used to identify which block or blocks have caused the error. the alternative toggle bit changes from ?0? to ?1? to ?0?, etc. with successive bus read operations from addresses within blocks that have not erased correctly. the alternative toggle bit does not change if the addressed block has erased correctly. 8.3 buffered program abort bit (dq1) the buffered program abort bit, dq1, is set to ?1? when a write to buffer program or enhanced buffered program operation aborts. the buffered program abort and reset command must be issued to return the device to read mode (see write to buffer program in section 7.1: standard commands ).
registers M29DW127G 56/95 table 21. status register bits (1) 1. unspecified data bits should be ignored. operation address dq7 dq6 dq5 dq3 dq2 dq1 rb program (2) 2. dq7 for write to buffer program and enhanced buffered program is related to the last address location loaded. bank address dq7 tog gle 0 ? ? 0 0 program during erase suspend bank address dq7 tog gle 0 ? ? ? 0 buffered program abort (2) bank address dq7 tog gle 0 ? ? 1 0 program error bank address dq7 toggle 1 ? ? ? hi-z chip erase any address 0 toggle 0 1 toggle ? 0 block erase before timeout erasing block 0 toggle 0 0 toggle ? 0 non-erasing block 0 toggle 0 0 no toggle ?0 block erase erasing block 0 toggle 0 1 toggle ? 0 non-erasing block 0 toggle 0 1 no toggle ?0 erase suspend erasing block 1 no tog gle 0?toggle?hi-z non-erasing block data read as normal ? hi-z erase error good block address 0 toggle 1 1 no toggle ?hi-z faulty block address 0 toggle 1 1 toggle ? hi-z
M29DW127G registers 57/95 figure 9. data polling flowchart read dq5 & dq7 at valid address start read dq7 at valid address fail pass ai07760 dq7 = data yes no yes no dq5 = 1 dq7 = data yes no
registers M29DW127G 58/95 figure 10. data toggle flowchart 1. bka=bank address being programmed or erased. read dq6 address = bka start read dq6 twice address = bka fail pass ai08929c dq6 = toggle no no yes yes dq5 = 1 no yes dq6 = toggle read dq5 & dq6 address = bka
M29DW127G dual operations and multiple bank architecture 59/95 9 dual operations and multiple bank architecture the multiple bank architecture of the M29DW127G gives greater flexibility for software developers to split the code and data spaces within the memory array. the dual operations feature simplifies the software management of the device by allowing code to be executed from one bank while another bank is being programmed or erased. the dual operations feature means that while programming or erasing in one bank, read operations are possible in another bank with zero latency. only one bank at a time is allowed to be in program or erase mode. however, certain commands can cross bank boundaries, which means that during an operation only the banks that are not concerned with the cross bank operation are available for dual operations. for example, if a block erase command is issued to erase blocks in both bank a and bank b, then only banks c or d are available for read operations while the erase is being executed. if a read operation is required in a bank, which is programming or erasing, the program or erase operation can be suspended. also if the suspended operation was erase then a program command can be issued to another block, so the device can have one block in erase suspend mode, one programming and other banks in read mode. by using a combination of these features, read operations are possible at any moment. table 22 and table 23 show the dual operations possible in other banks and in the same bank. note that only the commonly used commands are represented in these tables. table 22. dual operations allowed in other banks (1) status of bank commands allowed in another bank read read status register (2) read cfi query auto select program erase program/erase suspend program/erase resume idle yes yes (3) yes yes yes yes yes (3) ye s (4) programming yes no no no ? ? no no erasing yes no no no ? ? no no program suspended ye s n o ye s ye s n o n o ? n o erase suspended ye s n o ye s ye s yes n o ? ye s (5) 1. if several banks are involved in a program or erase operat ion, then only the banks that are not concerned with the operation are available for dual operations. 2. read status register is not a command. the status regist er can be read during a block program or erase operation. 3. only after a program or erase operation in that bank. 4. only after a program or erase suspend command in that bank. 5. only an erase resume is allowed if the bank was previously in erase suspend mode.
dual operations and multiple bank architecture M29DW127G 60/95 table 23. dual operations allowed in same bank status of bank commands allowed in another bank read read status register (1) read cfi query auto select program erase program/ erase suspend program/erase resume idle yes yes yes yes yes yes yes (2) yes (3) programming no yes no no ? ? yes (4) ? erasing no yes no no ? no yes (5) ? program suspended ye s n o yes yes n o ? ? ye s erase suspended yes (6) yes (7) yes yes yes (6) no ? yes 1. read status register is not a command. the status regi ster can be read during a block program or erase operation. 2. only after a program or erase operation in that bank. 3. only after a program or erase suspend command in that bank. 4. only a program suspend. 5. only an erase suspend. 6. not allowed in the block or word that is being erased or programmed. 7. the status register can be read by addressing the block being erase suspended.
M29DW127G maximum ratings 61/95 10 maximum ratings stressing the device above the rating listed in table 24: absolute maximum ratings may cause permanent damage to the device. exposure to absolute maximum rating conditions for extended periods may affect device reliability. these are stress ratings only and operation of the device at these or any other conditions above those indicated in the operating sections of this specification is not implied. table 24. absolute maximum ratings symbol parameter min max unit t bias temperature under bias ? 50 125 c t stg storage temperature ? 65 150 c v io input or output voltage (1)(2) 1. minimum voltage may undershoot to ? 2 v during transition and for less than 20 ns during transitions. 2. maximum voltage may overshoot to v cc + 2 v during transition and for less than 20 ns during transitions. ? 0.6 v cc +0.6 v v cc supply voltage ? 0.6 4 v v ccq input/output supply voltage ? 0.6 4 v v id identification voltage ? 0.6 10.5 v v pph (3) 3. v pph must not remain at 9 v for more than a total of 80 hrs. program voltage ? 0.6 10.5 v
dc and ac parameters M29DW127G 62/95 11 dc and ac parameters this section summarizes the operating measurement conditions, and the dc and ac characteristics of the device. the parameters in the dc and ac characteristics tables that follow, are derived from tests performed under the measurement conditions summarized in table 25: operating and ac measurement conditions . designers should check that the operating conditions in their circuit match the operating conditions when relying on the quoted parameters. figure 11. ac measurement load circuit figure 12. ac measurement i/o waveform table 25. operating and ac measurement conditions parameter M29DW127G unit 70 or 60 ns 80 ns min max min max v cc supply voltage 2.7 3.6 2.7 3.6 v v ccq supply voltage (v ccq v cc ) 2.7 3.6 1.65 3.6 v ambient operating temperature ? 40 85 ? 40 85 c load capacitance (c l )3030pf input rise and fall times 10 10 ns input pulse voltages 0 to v ccq 0 to v ccq v input and output timing ref. voltages v ccq /2 v ccq /2 v ai05558b c l c l includes jig capacitance device under test 25 k v ccq 25 k v cc 0.1 f v pp 0.1 f ai05557b v ccq 0 v v ccq /2
M29DW127G dc and ac parameters 63/95 figure 13. power-up waiting timings table 26. power-up waiting timings symbol parameter M29DW127G unit 70 or 60 ns 80 ns t vchel v cc (1) high to chip enable low min 55 s t vcqhel v ccq (1) high to chip enable low min 55 s t vchwl v cc high to write enable low min 500 s t vcqhwl v ccq high to write enable low min 500 s 1. v cc and v ccq ramps must be synchronized during power-up. ai14247 v cc t vcqhel e v ccq t vcqhwl w t vchel t vchwl
dc and ac parameters M29DW127G 64/95 table 27. device capacitance (1) symbol parameter test condition min max unit c in input capacitance v in = 0 v 6 pf c out output capacitance v out = 0 v 12 pf 1. sampled only, not 100% tested. table 28. dc characteristics symbol parameter test condition min typ max unit i li (1) input leakage current 0 v v in v cc 1 a i lo output leakage current 0 v v out v cc 1 a i cc1 read current random read e =v il , g =v ih , f=6mhz 10 ma page read e =v il , g =v ih , f=10mhz 15 ma i cc2 supply current (standby) e =v ccq 0.2v, rp =v ccq 0.2v 100 a i cc3 (2) supply current (program/erase) program/erase controller active v pp /wp = v il or v ih 20 ma v pp /wp =v pph 20 ma i pp1 program current (program) read or standby v pp /wp v cc 15 a i pp2 reset rp =v ss 0.2v 1 5 a i pp3 program operation ongoing v pp /wp =12v5% 1 10 ma v pp /wp =v cc 15 a i pp4 program current (erase) erase operation ongoing v pp /wp =12v5% 3 10 ma v pp /wp =v cc 15 a v il input low voltage v cc 2.7 v ? 0.5 0.3v ccq v v ih input high voltage v cc 2.7 v 0.7v ccq v ccq +0.4 v v ol output low voltage i ol =100 a, v cc =v cc(min) , v ccq =v ccq(min) 0.15v ccq v v oh output high voltage i oh =100 a, v cc =v cc(min) , v ccq =v ccq(min) 0.85v ccq v v id identification voltage 8.5 9.5 v v pph voltage for v pp /wp program acceleration 8.5 9.5 v v lko (2) program/erase lockout supply voltage 1.8 2.5 v 1. the maximum input leakage current is 5 a on the v pp /wp pin. 2. sampled only, not 100% tested.
M29DW127G dc and ac parameters 65/95 figure 14. random read ac waveforms (8-bit mode) note: byte = v il figure 15. random read ac waveforms (16-bit mode) note: byte = v ih random_read_ac-wavefore-x8 taxqx tehqz a0-a22 e g dq0-dq14, dq15a-1 tavqv tghqz tglqv telqv valid hi-z valid random_read_ac-waveform-x16 taxqx tehqz a?1,a0-a22 e g dq0-dq7 tavqv tghqz tglqv telqv valid hi-z valid
dc and ac parameters M29DW127G 66/95 figure 16. byte transition ac waveforms note: chip enable (e) and output enable (g) = v il taxqx tbhqv a0-a22 byte tavqv tblqx tblqz valid hi-z a?1 data out data out valid dq0-dq7 dq8-dq15 byte_transition_ac-waveform
M29DW127G dc and ac parameters 67/95 figure 17. page read ac waveforms (8-bit mode) ai08971d tehqz tghqx valid a3-a22 g dq0-dq15 e telqv tehqx tghqz valid a0-a2 valid valid valid valid valid valid valid tglqv tavqv tavqv1 valid valid valid valid valid valid valid valid
dc and ac parameters M29DW127G 68/95 figure 18. page read ac waveforms (16-bit mode) ai08971c tehqz tghqx valid a3-a22 g dq0-dq15 dq15a-1 e telqv tehqx tghqz valid a0-a2 valid valid valid valid valid valid valid tglqv tavqv tavqv1 valid valid valid valid valid valid valid valid
M29DW127G dc and ac parameters 69/95 table 29. read ac characteristics symbol alt. parameter test condition M29DW127G unit 60 ns (1) v ccq =v cc 70 ns v ccq =v cc 80 ns v ccq =1.65 v to v cc t avav t rc address valid to next address valid e =v il g =v il min 60 70 80 ns t avqv t acc address valid to output valid e =v il g =v il max 60 70 80 ns t avqv1 t page address valid to output valid (page) e =v il g =v il max 25 25 30 ns t elqx (2) t lz chip enable low to output transition g =v il min 0 0 0 ns t elqv t e chip enable low to output valid g =v il max 60 70 80 ns t glqx (2) t olz output enable low to output transition e =v il min 0 0 0 ns t glqv t oe output enable low to output valid e =v il max 25 25 30 ns t ehqz (2) t hz chip enable high to output hi-z g =v il max 20 20 30 ns t ghqz (2) t df output enable high to output hi-z e =v il max 20 20 20 ns t ehqx t ghqx t axqx t oh chip enable, output enable or address transition to output transition min 0 0 0 ns t elbl t elbh t elfl t elfh chip enable to byte low or high max 5 5 5 ns t blqz t flqz byte low to output hi-z max 25 25 25 ns t bhqv t fhqv byte high to output valid max 30 30 30 ns 1. only available upon customer request. 2. sampled only, not 100% tested.
dc and ac parameters M29DW127G 70/95 figure 19. write enable controlled program waveforms (8-bit mode) 1. only the third and fourth cycles of the program command are represented. the program command is followed by the check of status register data polling bit and by a read operati on that outputs the data, dout, programmed by the previous program command. 2. pa is the address of the memory location to be programmed. pd is the data to be programmed. 3. dq7 is the complement of the data bit being programmed to dq7 (see section 8.2.1: data polling bit (dq7) ). 4. see table 30: write ac characterist ics, write enable controlled , table 31: write ac characteristics, chip enable controlled and table 29: read ac characteristics for details on the timings. ai13333 g w a0-a22/ a?1 dq0-dq7 e 555h aoh pa pa 3rd cycle 4th cycle pd dq7 d out d out tavav tavav tavwl twlax data polling read cycle telwl twheh telqv tghwl twlwh twhwl twhwh1 tglqv tdvwh twhdx tghqz taxqx
M29DW127G dc and ac parameters 71/95 figure 20. write enable controlled program waveforms (16-bit mode) 1. only the third and fourth cycles of the program command are represented. the program command is followed by the check of status register data polling bit and by a read operati on that outputs the data, dout, programmed by the previous program command. 2. pa is the address of the memory location to be programmed. pd is the data to be programmed. 3. dq7 is the complement of the data bit being programmed to dq7 (see section 8.2.1: data polling bit (dq7) ). 4. see table 30: write ac characterist ics, write enable controlled , table 31: write ac characteristics, chip enable controlled and table 29: read ac characteristics for details on the timings. ai13699 g w a0-a22 dq0-dq1', dq15a?1 e 555h aoh pa pa 3rd cycle 4th cycle pd dq7 d out d out tavav tavav tavwl twlax data polling read cycle telwl twheh telqv tghwl twlwh twhwl twhwh1 tglqv tdvwh twhdx tghqz taxqx
dc and ac parameters M29DW127G 72/95 table 30. write ac characteristics, write enable controlled symbol alt parameter M29DW127G unit 60 ns (1) 70 ns 80 ns t avav t wc address valid to next address valid min 65 70 80 ns t elwl t cs chip enable low to write enable low min 0 0 0 ns t wlwh t wp write enable low to write enable high min 35 35 35 ns t dvwh t ds input valid to write enable high min 45 45 45 ns t whdx t dh write enable high to input transition min 0 0 0 ns t wheh t ch write enable high to chip enable high min 0 0 0 ns t whwl t wph write enable high to write enable low min 30 30 30 ns t avwl t as address valid to write enable low min 0 0 0 ns t wlax t ah write enable low to address transition min 45 45 45 ns t ghwl output enable high to write enable low min 0 0 0 ns t whgl t oeh write enable high to output enable low min 0 0 0 ns t whrl (2) t busy program/erase valid to rb low max 30 30 30 ns t vchel t vcs v cc high to chip enable low min 50 50 50 s 1. only available upon customer request. 2. sampled only, not 100% tested.
M29DW127G dc and ac parameters 73/95 figure 21. chip enable controlled program waveforms (8-bit mode) 1. only the third and fourth cycles of the program command are represented. the program command is followed by the check of status register data polling bit. 2. pa is the address of the memory location to be programmed. pd is the data to be programmed. 3. dq7 is the complement of the data bit being programmed to dq7 (see section 8.2.1: data polling bit (dq7) ). 4. see table 30: write ac characteristics, write enable controlled , table 31: write ac characteristics, chip enable controlled and table 29: read ac characteristics for details on the timings. ai13334 g e a0-a22/ a?1 dq0-dq7 w 555h aoh pa pa 3rd cycle 4th cycle pd dq7 d out tavav tavel telax data polling twlel tehwh tghel teleh tehel1 twhwh1 tdveh tehdx
dc and ac parameters M29DW127G 74/95 figure 22. chip enable controlled program waveforms (16-bit mode) 1. only the third and fourth cycles of the program command are represented. the program command is followed by the check of status register data polling bit. 2. pa is the address of the memory location to be programmed. pd is the data to be programmed. 3. dq7 is the complement of the data bit being programmed to dq7 (see section 8.2.1: data polling bit (dq7) ). 4. see table 30: write ac characteristics, write enable controlled , table 31: write ac characteristics, chip enable controlled and table 29: read ac characteristics for details on the timings. ai14100 g e a0-a22 dq0-dq14 a?1 w 555h aoh pa pa 3rd cycle 4th cycle pd dq7 d out tavav tavel telax data polling twlel tehwh tghel teleh tehel1 twhwh1 tdveh tehdx table 31. write ac characteristics, chip enable controlled symbol alt. parameter M29DW127G unit 60 ns (1) 70 ns 80 ns t avav t wc address valid to next address valid min 65 70 80 ns t wlel t ws write enable low to chip enable low min 0 0 0 ns t eleh t cp chip enable low to chip enable high min 35 35 35 ns t dveh t ds input valid to chip enable high min 45 45 45 ns t ehdx t dh chip enable high to input transition min 0 0 0 ns t ehwh t wh chip enable high to write enable high min 0 0 0 ns t ehel t cph chip enable high to chip enable low min 30 30 30 ns t avel t as address valid to chip enable low min 0 0 0 ns t elax t ah chip enable low to address transition min 45 45 45 ns t ghel output enable high chip enable low min 0 0 0 ns 1. only available upon customer request.
M29DW127G dc and ac parameters 75/95 figure 23. reset ac waveforms (no program/erase ongoing) figure 24. reset during program/erase operation ac waveforms ai11300c rb rp tplpx tphel, tphgl tphwl e, g, w ai11301c rb rp tplpx trhel, trhgl, trhwl e, g, tplyh w table 32. reset ac characteristics symbol alt. parameter M29DW127G unit 60 ns 70 ns 80 ns t plyh (1) t read y rp low to read mode, during program or erase max 50 50 50 s t plpx t rp rp pulse width min 10 10 10 s t phel, t phgl, t phwl (1) t rh rp high to write enable low, chip enable low, output enable low min 50 50 50 ns t rpd rp low to standby mode, during read mode min 10 10 10 s rp low to standby mode, during program or erase min 50 50 50 s t rhel, t rhgl, t rhwl (1) t rb rb high to write enable low, chip enable low, output enable low min 0 0 0 ns 1. sampled only, not 100% tested.
dc and ac parameters M29DW127G 76/95 figure 25. accelerated program timing waveforms figure 26. data polling ac waveforms 1. dq7 returns valid data bit when the ongoing program or erase command is completed. 2. see table 33: accelerated program and data polling/data toggle ac characteristics and table 29: read ac characteristics for details on the timings. ai05563 v pp /wp v pph v il or v ih tvhvpp tvhvpp ai13336c g e dq7 w dq7 dq7= valid data dq6-dq0 dq6-dq0= output flag data data dq6-dq0= valid data hi-z hi-z r/b twheh tglqv tehqz tghqz twhgl2 telqv twhwh1 or twhwh2 twhrl
M29DW127G dc and ac parameters 77/95 table 33. accelerated program and data polling/data toggle ac characteristics symbol alt. parameter M29DW127G unit 60 ns 70 ns 80 ns t vhvpp v pp /wp raising and falling time min 250 250 250 ns t axgl t aso address setup time to output enable low during toggle bit polling min101010ns t ghax, t ehax t aht address hold time from output enable during toggle bit polling min101010ns t ehel2 t eph chip enable high during toggle bit polling min 10 10 10 ns t whgl2, t ghgl2 t oeh output hold time during data and toggle bit polling min 20 20 20 ns t whrl t busy program/erase valid to rb low max303030ns
package mechanical M29DW127G 78/95 12 package mechanical to meet environmental requirements, numonyx offers the M29DW127G in ecopack ? packages. ecopack packages are lead-free. the category of second level interconnect is marked on the package and on the inner box label, in compliance with jedec standard jesd97. the maximum ratings related to soldering conditions are also marked on the inner box label. figure 27. tsop56 ? 56 lead plastic thin small outline, 14 x 20 mm, package outline 1. drawing is not to scale. table 34. tsop56 ? 56 lead plastic thin small outline, 14 x 20 mm, package mechanical data symbol millimeters inches typ min max typ min max a1.200.047 a1 0.10 0.05 0.15 0.004 0.002 0.006 a2 1.00 0.95 1.05 0.039 0.037 0.041 b 0.22 0.17 0.27 0.009 0.007 0.011 c 0.10 0.21 0.004 0.008 cp 0.10 0.004 d1 14.00 13.90 14.10 0.551 0.547 0.555 e 20.00 19.80 20.20 0.787 0.780 0.795 e1 18.40 18.30 18.50 0.724 0.720 0.728 e0.50 ? ?0.020? ? l 0.60 0.50 0.70 0.024 0.020 0.028 30 530 5 tsop-k b e die c l a1 e1 e a a2 28 1 56 29 d1 l1 cp
M29DW127G package mechanical 79/95 figure 28. tbga64 10 x 13 mm - 8 x 8 active ball array, 1 mm pitch, package outline 1. drawing is not to scale. table 35. tbga64 10 x 13 mm - 8 x 8 active ball array, 1 mm pitch, package mechanical data symbol millimeters inches typ min max typ min max a1.200.047 a1 0.30 0.20 0.35 0.012 0.008 0.014 a2 0.80 0.031 b 0.35 0.50 0.014 0.020 d 10.00 9.90 10.10 0.394 0.390 0.398 d1 7.000 ? ? 0.276 ? ? ddd 0.10 0.004 e 1.00 ? ? 0.039 ? ? e 13.00 12.90 13.10 0.512 0.508 0.516 e1 7.00 ? ? 0.276 ? ? fd 1.50 ? ? 0.059 ? ? fe 3.00 ? ? 0.118 ? ? sd 0.50 ? ? 0.020 ? ? se 0.50 ? ? 0.020 ? ? e1 e d1 d eb sd se a2 a1 a bga-z23 ddd fd fe ball "a1"
ordering information M29DW127G 80/95 13 ordering information note: this product is also available with the extended block factory locked. devices are shipped from the factory with the memory content bits erased to ?1?. for a list of available options (speed, package, etc.) or for further information on any aspect of this device, please contact your nearest numonyx sales office. table 36. ordering information scheme example: m29 d w 127g 60 nf 6 e device type m29 architecture d = dual operation operating voltage w = v cc = 2.7 to 3.6 v device function 127g = 128 mbit (8-mbit x16 or 16-mbit x8), page, dual boot speed 60= 60 ns (80 ns if v ccq =1.65 v to v cc ) (1) 70=70ns (80ns if v ccq =1.65 v to v cc ) package nf = tsop56: 14 x 20 mm za = tbga64: 10 x 13 mm - 1 mm pitch temperature range 6 = -40 to 85 c option e = ecopack package, standard packing f = ecopack package, tape & reel packing 1. only available upon customer request.
M29DW127G block addresses and read/modify protection groups 81/95 appendix a block addresses and read/modify protection groups table 37. block addresses bank block protection group block size (kbytes/kwords) 16-bit address range (in hexadecimal) bank a 0 protection group 64/32 0000000?0007fff 1 protection group 64/32 0008000?000ffff 2 protection group 64/32 0010000?0017fff 3 protection group 64/32 0018000?001ffff 4 protection group 256/128 0020000?003ffff 5 protection group 256/128 0040000?005ffff 6 protection group 256/128 0060000?007ffff 7 protection group 256/128 0080000?009ffff 8 protection group 256/128 00a0000?00bffff 9 protection group 256/128 00c0000?00dffff 10 protection group 256/128 00e0000?00fffff
block addresses and read/modify protection groups M29DW127G 82/95 bank b 11 protection grou p 256/128 0100 000?0 11ffff 12 protection grou p 256/128 0120000? 013ffff 13 protection group 256/128 0140000?015ffff 14 protection grou p 256/128 0160000? 017ffff 15 protection grou p 256/128 0180000? 019ffff 16 protection group 256/128 01a0000?01bffff 17 protection group 256/128 01c0000?01dffff 18 protection group 256/128 01e0000?01fffff 19 protection group 256/128 0200000?021ffff 20 protection grou p 256/128 0220000? 023ffff 21 protection grou p 256/128 0240000? 025ffff 22 protection group 256/128 0260000?027ffff 23 protection group 256/128 0280000?029ffff 24 protection group 256/128 02a0000?02bffff 25 protection group 256/128 02c0000?02dffff 26 protection group 256/128 02e0000?02fffff 27 protection grou p 256/128 0300000? 031ffff 28 protection grou p 256/128 0320000? 033ffff 29 protection grou p 256/128 0340000? 035ffff 30 protection grou p 256/128 0360000? 037ffff 31 protection grou p 256/128 0380000? 039ffff 32 protection group 256/128 03a0000?03bffff 33 protection group 256/128 03c0000?03dffff 34 protection group 256/128 03e0000?03fffff table 37. block addresses (continued) bank block protection group block size (kbytes/kwords) 16-bit address range (in hexadecimal)
M29DW127G block addresses and read/modify protection groups 83/95 bank c 35 protection group 256/128 0400000?041ffff 36 protection grou p 256/128 0420000? 043ffff 37 protection grou p 256/128 0440000? 045ffff 38 protection group 256/128 0460000?047ffff 39 protection group 256/128 0480000?049ffff 40 protection group 256/128 04a0000?04bffff 41 protection group 256/128 04c0000?04dffff 42 protection group 256/128 04e0000?04fffff 43 protection grou p 256/128 0500000? 051ffff 44 protection group 256/128 0520000?053ffff 45 protection grou p 256/128 0540000? 055ffff 46 protection group 256/128 0560000?057ffff 47 protection group 256/128 0580000?059ffff 48 protection group 256/128 05a0000?05bffff 49 protection group 256/128 05c0000?05dffff 50 protection group 256/128 05e0000?05fffff 51 protection grou p 256/128 0600000? 061ffff 52 protection group 256/128 0620000?063ffff 53 protection grou p 256/128 0640000? 065ffff 54 protection group 256/128 0660000?067ffff 55 protection group 256/128 0680000?069ffff 56 protection group 256/128 06a0000?06bffff 57 protection group 256/128 06c0000?06dffff 58 protection group 256/128 06e0000?06fffff table 37. block addresses (continued) bank block protection group block size (kbytes/kwords) 16-bit address range (in hexadecimal)
block addresses and read/modify protection groups M29DW127G 84/95 bank d 59 protection group 256/128 0700000?071ffff 60 protection group 256/128 0720000?073ffff 61 protection group 256/128 0740000?075ffff 62 protection group 256/128 0760000?077ffff 63 protection group 256/128 0780000?079ffff 64 protection group 256/128 07a0000?07bffff 65 protection group 256/128 07c0000?07dffff 66 protection group 64/32 07e0000?07e7fff 67 protection group 64/32 07e8000?07effff 68 protection group 64/32 07f0000?07f7fff 69 protection group 64/32 07f8000?07fffff table 37. block addresses (continued) bank block protection group block size (kbytes/kwords) 16-bit address range (in hexadecimal)
M29DW127G common flash interface (cfi) 85/95 appendix b common flash interface (cfi) the common flash interface is a jedec approved, standardized data structure that can be read from the flash memory device. it allows a system software to query the device to determine various electrical and timing parameters, density information and functions supported by the memory. the system can interface easily with the device, enabling the software to upgrade itself when necessary. when the read cfi query command is issued, the memory enters read cfi query mode and read operations output the cfi data. table 38 , ta bl e 3 9 , table 40 , table 41 , ta bl e 42 and table 43 show the addresses (a0-a7) used to retrieve the data. the cfi data structure also contains a security area where a 64-bit unique security number is written (see table 43: security code area ). this area can be accessed only in read mode by the final user. it is impossible to change the security number after it has been written by numonyx. table 38. query structure overview (1) 1. query data are always presented on the lowest order data outputs. address sub-section name description x16 x8 10h 20h cfi query identification string command set id and algorithm data offset 1bh 36h system interface information device timing & voltage information 27h 4eh device geometry definition flash device layout 40h 80h primary algorithm-specific extended query table additional information specific to the primary algorithm (optional) 61h c2h security code area 64-bit unique device number table 39. cfi query identification string (1) 1. query data are always presented on the lowest order data outputs (dq7-dq0) only. dq8-dq15 are ?0?. address data description value x16 x8 10h 20h 0051h ?q? 11h 22h 0052h query unique ascii string ?qry? ?r? 12h 24h 0059h ?y? 13h 26h 0002h primary algorithm command set and control interface id code 16 bit id code defining a specific algorithm spansion compatible 14h 28h 0000h 15h 2ah 0040h address for primary algorithm extended query table (see ta ble 4 2 )p = 40h 16h 2ch 0000h 17h 2eh 0000h alternate vendor command set and control interface id code second vendor - specified algorithm supported na 18h 30h 0000h 19h 32h 0000h address for alternate algorithm extended query table na 1ah 34h 0000h
common flash interface (cfi) M29DW127G 86/95 table 40. cfi query system interface information (1) address data description value x16 x8 1bh 36h 0027h v cc logic supply minimum program/erase voltage bit 7 to 4 value in volts bit 3 to 0 value in 100 mv 2.7 v 1ch 38h 0036h v cc logic supply maximum program/erase voltage bit 7 to 4bcd value in volts bit 3 to 0bcd value in 100 mv 3.6 v 1dh 3ah 00b5h v pph [programming] supply minimum program/erase voltage bit 7 to 4 value in volts bit 3 to 0 value in 100 mv 11.5 v 1eh 3ch 00c5h v pph [programming] supply maximum program/erase voltage bit 7 to 4 value in volts bit 3 to 0 value in 100 mv 12.5 v 1fh 3eh 0004h 1fh 3eh 0004h typical timeout for single byte/word program = 2 n s16 s 20h 40h 0004h 20h 40h 0004h typical timeout for minimum size write buffer program = 2 n s 16 s 21h 42h 000ah typical timeout for individual block erase = 2 n ms 1 s 22h 44h 0010h typical timeout for full chip erase = 2 n ms 40 s 23h 46h 0004h maximum timeout for word program = 2 n times typical 200 s 24h 48h 0004h maximum timeout for write buffer program = 2 n times typical 200 s 25h 4ah 0004h maximum timeout per individual block erase = 2 n times typical 4.6 s 26h 4ch 0004h maximum timeout for chip erase = 2 n times typical 400 s 1. the values given in the above table are valid for both packages.
M29DW127G common flash interface (cfi) 87/95 table 41. device geometry definition address data description value x16 x8 27h 4eh 0018h device size = 2 n in number of bytes 16 mbytes 28h 29h 50h 52h 0002h 0000h flash device interface code description x8, x16 async. 2ah 2bh 54h 56h 0006h 0000h maximum number of bytes in multiple-byte program or page= 2 n 64 2ch 58h 0003h number of erase block regions. it specifies the number of regions containing contiguous erase blocks of the same size. 3 2dh 2eh 5ah 5ch 0003h 0000h erase block region 1 information 2dh-2eh: number of erase blocks of identical size. 4 blocks 64 kbytes 2fh 30h 5eh 60h 0000h 0001h erase block region 1 information 2fh-30h: block size (n*256 bytes) 4 blocks 64 kbytes 31h 32h 33h 34h 62h 64h 66h 68h 003dh 0000h 0000h 0004h erase block region 2 information 62 blocks 256 kbytes 35h 36h 37h 38h 6ah 6ch 6eh 70h 0003h 0000h 0000h 0001h erase block region 3 information 4 blocks 64 kbytes 39h 3ah 3bh 3ch 72h 74h 76h 78h 0000h 0000h 0000h 0000h erase block region 4 information na
common flash interface (cfi) M29DW127G 88/95 table 42. primary algorithm-specific extended query table (1) address data description value x16 x8 40h 80h 0050h primary algorithm extended query table unique ascii string ?pri? ?p? 41h 82h 0052h ?r? 42h 84h 0049h ?i? 43h 86h 0031h major version number, ascii ?1? 44h 88h 0033h minor version number, ascii ?3? 45h 8ah 000dh address sensitive unlock (bits 1 to 0) 00 = required, 01= not required silicon revision number (bits 7 to 2) yes, 90 nm 46h 8ch 0002h erase suspend 00 = not supported, 01 = read only, 02 = read and write 2 47h 8eh 0001h block protection 00 = not supported, x = number of blocks per group 1 48h 90h 0000h temporary block unprotect 00 = not supported, 01 = supported not supported 49h 92h 0008h block protect /unprotect 08 = M29DW127G 8 4ah 94h 003bh simultaneous operations: x= block number (excluding bank a) 59 4bh 96h 0000h burst mode, 00 = not supported, 01 = supported not supported 4ch 98h 0002h page mode, 00 = not supported, 02 = 8-word page yes 4dh 9ah 00b5h v pph [programming/erasing] supply minimum program/erase voltage bit 7 to 4 value in volts bit 3 to 0 value in 100 mv 11.5 v 4eh 9ch 00c5h v pph [programming/erasing] supply maximum program/erase voltage bit 7 to 4 value in volts bit 3 to 0 value in 100 mv 12.5 v 4fh 9eh 0001h 01 = dual boot dual boot 50h a0h 0001h program suspend, 00 = not supported, 01 = supported supported 51h a2h 0001h unlock bypass: 00 = not supported, 01 = supported supported 52h a4h 0008h extended memory block size (customer lockable), 2 n bytes 256 57h aeh 0004h bank organization, 00 = data at 4ah is 0, x= bank number 4 58h b0h 000bh bank a information, x = number of blocks in bank a 11 59h b2h 0018h bank b information, x = number of blocks in bank b 24 5ah b4h 0018h bank c information, x = number of blocks in bank c 24 5bh b6h 000bh bank d information, x = number of blocks in bank d 11 1. the values given in the above table are valid for both packages.
M29DW127G common flash interface (cfi) 89/95 table 43. security code area address data description value x16 x8 61h c3h, c2h xxxx xxxx 64 bit: unique device number 62h c5h, c4h xxxx xxxx 63h c7h, c6h xxxx xxxx 64h c9h, c8h xxxx xxxx
extended memory block M29DW127G 90/95 appendix c extended memory block the M29DW127G has an extra block, the extended memory block, that can be accessed using a dedicated command. this extended memory block is 256 words (x16 mode) and 512 bytes (x8 mode). it is used as a security block (to provide a permanent security identification number) or to store additional information. the extended memory block is divided into two memory areas of 256 bytes / 128 words each: ? the first one is factory locked. ? the second one is customer lockable. it is up to the customer to protect it from program operations. its status is indicated by bit dq6 and dq7. when dq7 is set to ?1? and dq6 to ?0?, it indicates that this second memory area is customer lockable. when dq7 and dq6 are both set to ?1?, it indicates that the second part of the extended memory block is customer locked and protected from program operations. bits dq6 and dq7 are the most significant bits in the extended block protection indicator and a specific procedure must be followed to read it. see section 4.2: verify extended memory block protection indicator and table 9: block protection (16-bit mode) for details of how to read bit dq7. the extended memory block can only be accessed when the device is in extended block mode. for details of how the extended block mode is entered and exited, refer to the section 7.1.10: program command and section 7.3.2: exit extended memory block command , and to table 17: block protection commands (16-bit mode) . c.1 factory locked section of extended memory block the first section of the extended memory block is permanently protected from program operations and cannot be unprotected. the random number, electronic serial number (esn) and security identification number (see table 44: extended memory block address and data ) are written in this section in the factory.
M29DW127G extended memory block 91/95 c.2 customer lockable section of extended memory block the device is delivered with the second section of the extended memory block ?customer lockable?: bits dq7 and dq6 are set to '1' and '0' respectively. it is up to the customer to program and protect this section of the extended memory block but care must be taken because the protection is not reversible. this section can be protected by setting the extended memory block protection bit, dq0, to ?0?. bit dq6 of the extended block protection indicator is automatically set to '1' to indicate that the second section of the extended memory block is customer locked. once the extended memory block is programmed and protected, the exit extended block command must be issued to exit the extended block mode and return the device to read mode. table 44. extended memory block address and data device address (1) data factory locked customer lockable M29DW127G 000000h-00007fh random number, esn (2) , security identification number unavailable 000080h-0000ffh unavailable determined by customer 1. see table 37: block addresses . 2. esn = electronic serial number.
flowcharts M29DW127G 92/95 appendix d flowcharts figure 29. write to buffer program flowchart and pseudocode 1. n+1 is the number of addresses to be programmed. 2. a write to buffer program abort and reset must be issued to return the device in read mode. 3. when the block address is specified, any address in the selected block address space is acceptable. however when loading write buffer address with data, all addresse s must fall within the selected write buffer page. 4. dq7 must be checked since dq5 and dq7 may change simultaneously. 5. if this flowchart location is reached because dq5=?1?, then the write to buffer program command failed. if this flowchart location is reached because dq1=?1?, then the write to buffer program command aborted. in both cases, the appropriate reset command must be issued to return the device in read mode: a reset command if the operation failed, a write to buffer program abort and reset command if the operation aborted. 6. see table 12: standard commands (16-bit mode) , for details on write to buffer program command sequence. write to buffer command, block address ai08968b start write buffer data, start address yes abort write to buffer fail or abort (5) no write n (1) , block address x = 0 write next data, program address pair x = x-1 write to buffer program confirm, block address read status register (dq1, dq5, dq7) at last loaded address yes dq7 = data no check status register (dq5, dq7) at last loaded address (3) no yes write to a different block address write to buffer and program aborted (2) no dq5 = 1 yes no dq1 = 1 yes yes dq7 = data (4) no end first three cycles of the write to buffer and program command x=n
M29DW127G flowcharts 93/95 figure 30. enhanced buffered program flowchart and pseudocode 1. a buffered program abort and reset must be issued to return the device in read mode. 2. when the block address is specified, all the addresses in the selected block address space must be issued starting from (00). furthermore, when loading write buffer address with data, data program addresses must be consecutive. 3. dq7 must be checked since dq5 and dq7 may change simultaneously. 4. if this flowchart location is reached because dq5=?1?, then the enhanced buffered program command failed. if this flowchart location is reached because dq1=?1?, then the enhanced buffered program command aborted. in both cases, the appropriate reset command must be issued to return the devic e in read mode: a reset command if the operation failed, a buffered program abort and reset command if the operation aborted. 5. see table 15: enhanced buffered program commands , for details on enhanced buffered program command sequence. enhanced buffered program command, block address ai14243 start write buffer data, start address (00), x=255 yes abort write to buffer fail or abort (4) no x = 0 write next data, program address pair x = x-1 enhanced buffered program confirm, block address read status register (dq1, dq5, dq7) at last loaded address yes dq7 = data no check status register (dq5, dq7) at last loaded address (2) no yes write to a different block address enhanced buffered program aborted (1) no dq5 = 1 yes no dq1 = 1 yes yes dq7 = data (3) no end first three cycles of the enhanced buffered program command
revision history M29DW127G 94/95 14 revision history table 45. document revision history date version revision details 20-oct-2008 1 initial release. 28-oct-2008 2 revised the appendix b: common flash interface (cfi) to include both x16 and x8 information. revised the following data in table 40: cfi query system interface information : ? at address 1dh changed data column from 0085h to 00b5h and value column from 8.5 v to 11.5 v. ? at address 1eh changed data column 0095h to 00c5h and value column from 9.5 v to 12.5 v. revised the following data in in table 42: primary algorithm-specific extended query table : ? at address 4dh changed data column from 0085h to 00b5h and value column from 8.5 v to 11.5 v. ? at address 4eh changed data column 0095h to 00c5h and value column from 9.5 v to 12.5 v. 5-may-2009 3 corrected order information table.
m29w128gh, m29w128gl 95/95 please read carefully: information in this document is provided in connection with numonyx? products. no license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted by this document. except as provided in numonyx's terms and conditions of sale for such products, numonyx assumes no liability whatsoever, and numonyx disclaims any express or implied warranty, relating to sale and/or use of numonyx products including liability or warranties relating to fitness for a particular purpose, merchantability, or infringement of any patent, copyright or other intellectual property right. numonyx products are not intended for use in medical, life saving, life sustaining, critical control or safety systems, or in n uclear facility applications. numonyx may make changes to specifications and product descriptions at any time, without notice. numonyx, b.v. may have patents or pending patent applications, trademarks, copyrights, or other intellectual property rights th at relate to the presented subject matter. the furnishing of documents and other materials and information does not provide any license, express or implied, by estoppel or otherwise, to any such patents, trademarks, copyrights, or other intellectual property rights. designers must not rely on the absence or characteristics of any features or instructions marked ?reserved? or ?undefined.? num onyx reserves these for future definition and shall have no responsibility whatsoever for conflicts or incompatibilities arising from future changes to them. contact your local numonyx sales office or your distributor to obtain the latest specifications and before placing your product order. copies of documents which have an order number and are referenced in this document, or other numonyx literature may be obtained by visiting numonyx's website at http://www.numonyx.com . numonyx strataflash is a trademark or registered trademark of numonyx or its subsidiaries in the united states and other countr ies. *other names and brands may be claimed as the property of others. copyright ? 2008, numonyx, b.v., all rights reserved.


▲Up To Search▲   

 
Price & Availability of M29DW127G

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X